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