Re: [PATCH v3 06/18] iio: adc: meson_saradc: Simplify with dev_err_probe()

From: Martin Blumenstingl
Date: Sat Aug 29 2020 - 10:48:52 EST


On Sat, Aug 29, 2020 at 8:49 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> Common pattern of handling deferred probe can be simplified with
> dev_err_probe(). Less code and also it prints the error value.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Acked-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>