]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: ad7280a: use dev_err_probe()
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 30 Mar 2026 11:18:53 +0000 (14:18 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Apr 2026 08:58:18 +0000 (09:58 +0100)
commita88442f40854ace0a078581d4dfda53f32d1a7f3
tree5c5be9bf6d07239ffb6de19b315aacd873ae646f
parentdb935b8cac8bb091e884fe68231835234a266a85
iio: adc: ad7280a: 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/ad7280a.c