Re: [PATCH v1 0/4] iio: Unshadow error codes in ->store()

Jonathan Cameron <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <20260822021941.3f5a6806@jic23-huawei>
On Thu, 13 Aug 2026 09:16:49 +0200
Andy Shevchenko <[email protected]> wrote:

> kstrtox() may return different error codes. Allow them to be returned.
> This mini-series makes all IIO drivers to follow the same pattern when
> using kstrtox() APIs. Patches can be individually applied, the series
> is just a union by the subject, no code dependencies are there.
> 
> Andy Shevchenko (4):
>   iio: light: Unshadow error codes in ->store()
>   iio: imu: inv_mpu6050: Unshadow error codes in ->store()
>   iio: chemical: sps30: Unshadow error codes in ->store()
>   iio: adc: pac1934: Unshadow error codes in ->store()
Applied.  thanks

Jonathan

> 
>  drivers/iio/adc/pac1934.c                  |  9 ++++++---
>  drivers/iio/chemical/sps30.c               | 11 ++++++++---
>  drivers/iio/imu/inv_mpu6050/inv_mpu_core.c |  6 ++++--
>  drivers/iio/light/isl29018.c               |  7 +++++--
>  drivers/iio/light/lm3533-als.c             | 11 +++++++----
>  drivers/iio/light/tsl2583.c                | 15 +++++++++++----
>  drivers/iio/light/tsl2772.c                | 16 ++++++++++++----
>  7 files changed, 53 insertions(+), 22 deletions(-)
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.