Thread (8 messages) 8 messages, 5 authors, 2025-08-25

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

From: Jonathan Cameron <jic23@kernel.org>
Date: 2025-08-25 08:41:44
Also in: imx, linux-amlogic, linux-iio, linux-rockchip, lkml

On Thu, 21 Aug 2025 11:13:00 +0300
Andy Shevchenko [off-list ref] wrote:
On Thu, Aug 21, 2025 at 11:07 AM Xichao Zhao [off-list ref] wrote:
quoted
The dev_err_probe() doesn't do anything when error is '-ENOMEM'.  
when the error
Tweaked and applied.
quoted
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@kernel.org>
(yes, I indeed looked at all patches in this one :-)
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help