[PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM

Andy Shevchenko andy.shevchenko at gmail.com
Thu Aug 21 01:13:00 PDT 2025


On Thu, Aug 21, 2025 at 11:07 AM Xichao Zhao <zhao.xichao at vivo.com> wrote:
>
> The dev_err_probe() doesn't do anything when error is '-ENOMEM'.

when the error

> Therefore, remove the useless call to dev_err_probe(), and just
> return the value instead.

In favour of this series,
Reviewed-by: Andy Shevchenko <andy at kernel.org>
(yes, I indeed looked at all patches in this one :-)

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-amlogic mailing list