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

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sat Aug 29 10:48:33 EDT 2020


On Sat, Aug 29, 2020 at 8:49 AM Krzysztof Kozlowski <krzk at kernel.org> 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 at kernel.org>
> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-amlogic mailing list