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

From: Andy Shevchenko
Date: Thu Aug 21 2025 - 04:16:59 EST


On Thu, Aug 21, 2025 at 11:07 AM Xichao Zhao <zhao.xichao@xxxxxxxx> 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@xxxxxxxxxx>
(yes, I indeed looked at all patches in this one :-)

--
With Best Regards,
Andy Shevchenko