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>


Author Antoniu Miclaus Committer Jonathan Cameron Date Commit Parent 8b6e7388
+3 -4
1 changed file
+3 -4
1 changed file