]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: ad7768-1: use dev_err_probe()
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 30 Mar 2026 11:18:54 +0000 (14:18 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Apr 2026 08:58:18 +0000 (09:58 +0100)
commitba1ad6b2de799b6c1a869bd2add44bacf0a97344
treef233b9c6e54bec3f590f446d57fa7338fb661571
parenta88442f40854ace0a078581d4dfda53f32d1a7f3
iio: adc: ad7768-1: use dev_err_probe()

Use dev_err_probe() instead of dev_err() in the probe path to ensure
proper handling of deferred probing and to simplify error handling.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7768-1.c