[PATCH -next] iio: adc: Remove redundant dev_err_probe()

Linus Walleij linus.walleij at linaro.org
Fri Jul 28 13:00:07 PDT 2023


On Thu, Jul 27, 2023 at 9:39 AM Ruan Jinjie <ruanjinjie at huawei.com> wrote:

> There is no need to call the dev_err() function directly to print a custom
> message when handling an error from either the platform_get_irq() or
> platform_get_irq_byname() functions as both are going to display an
> appropriate error message in case of a failure.
>
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list