[PATCH -next 1/2] iio: adc: mt6577_auxadc: Simplify with dev_err_probe()

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed Sep 13 01:56:29 PDT 2023


Il 26/08/23 05:54, Jinjie Ruan ha scritto:
> Use the dev_err_probe() helper to simplify error handling during probe.
> This also handle scenario, when EDEFER is returned and useless error
> is printed.
> 
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> Suggested-by: Jonathan Cameron <jic23 at kernel.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list