[PATCH 03/10] iio: dac: Drop unnecessary -ENOMEM messages
Jonathan Cameron
jic23 at kernel.org
Mon Aug 25 04:31:00 PDT 2025
On Fri, 22 Aug 2025 09:19:51 +0530
Dixit Parmar <dixitparmar19 at gmail.com> wrote:
> The drivers do not require their own error messages for error
> -ENOMEM, memory allocation failures. So remove the dev_err
> messages from the probe().
>
> Signed-off-by: Dixit Parmar <dixitparmar19 at gmail.com>
> ---
> drivers/iio/dac/ad5380.c | 4 +---
> drivers/iio/dac/ad5764.c | 4 +---
> drivers/iio/dac/ds4424.c | 4 +---
> drivers/iio/dac/ti-dac7311.c | 4 +---
> drivers/iio/dac/vf610_dac.c | 4 +---
Raced with another series doing a dev_err_probe() conversion and the relevant
lines are gone.
I'll fix up.
Jonathan
More information about the linux-arm-kernel
mailing list