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

From: Jonathan Cameron

Date: Fri Aug 21 2026 - 21:19:57 EST


On Thu, 13 Aug 2026 09:16:49 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> 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(-)
>