Re: [PATCH v2 2/3] iio: adc: qcom-pm8xxx-xoadc: remove redundant error logging in pm8xxx_read_raw
From: Dmitry Baryshkov
Date: Fri Apr 03 2026 - 17:54:57 EST
On Fri, Apr 03, 2026 at 09:23:18AM +0000, Antony Kurniawan Soemardi wrote:
> Remove dev_err() for missing channels and rely on -EINVAL to report
> failures, reducing unnecessary log noise.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
Does it also prevent users from spamming the dmesg?
>
> Signed-off-by: Antony Kurniawan Soemardi <linux@xxxxxxxxxxxxxx>
> ---
> drivers/iio/adc/qcom-pm8xxx-xoadc.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
--
With best wishes
Dmitry