[PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM
Jonathan Cameron
jic23 at kernel.org
Mon Aug 25 01:41:28 PDT 2025
On Thu, 21 Aug 2025 11:13:00 +0300
Andy Shevchenko <andy.shevchenko at gmail.com> wrote:
> 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
>
Tweaked and applied.
> > 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 :-)
>
More information about the linux-amlogic
mailing list