]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7124: Add error reporting during probe
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 6 Dec 2024 17:28:41 +0000 (18:28 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 11 Dec 2024 19:20:48 +0000 (19:20 +0000)
commitabc61acde13cd9b70b5f5b5d20e4e2b3fee457cf
tree92b48c7c6613fc7df968b697df54bb7d21517d67
parent132d44dc6966c1cf841ffe0f6f048165687e870b
iio: adc: ad7124: Add error reporting during probe

A driver that silently fails to probe is annoying and hard to debug. So
add messages in the error paths of the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/55e24392f1e4d5b9896f00a52a93c1c4b1feac43.1733504533.git.u.kleine-koenig@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7124.c