Re: [PATCH 00/13] iio: Use sysfs_emit()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Dec 2021 19:52:04 +0100
Lars-Peter Clausen <lars@xxxxxxxxxx> wrote:

> I started the sysfs_emit() conversion during the last end-of-year break
> starting with the IIO core. It is end-of-year break again, so here is a bit
> more.
> 
> This series contains conversions for simple users which all follow the
> pattern of `return sprintf(....)` or similar. The series also only covers
> cases where the attributes are completely custom and can not be converted
> to use iio_read_raw or iio_read_available. These other cases will be
> handled seperately by converting them to use the IIO APIs rather than
> device attributes. But this requires a bit more validation work than the
> simple straigh forward conversions.
> 

Applied with tweaks as mentioned in replies to individual patches.

Thanks,

Jonathan

> Lars-Peter Clausen (13):
>   iio: core: Use sysfs_emit()
>   iio: dmaengine-buffer: Use sysfs_emit()
>   iio: ad7192: Use sysfs_emit()
>   iio: ad9523: Use sysfs_emit()
>   iio: as3935: Use sysfs_emit()
>   iio: ina2xx-adc: sysfs_emit()
>   iio: lm3533: Use sysfs_emit()
>   iio: max31856: Use sysfs_emit()
>   iio: max31865: Use sysfs_emit()
>   iio: max9611: Use sysfs_emit()
>   iio: ms_sensors: Use sysfs_emit()
>   iio: scd4x: Use sysfs_emit()
>   iio: sps30: Use sysfs_emit()
> 
>  drivers/iio/adc/ad7192.c                           | 4 ++--
>  drivers/iio/adc/ina2xx-adc.c                       | 2 +-
>  drivers/iio/adc/max9611.c                          | 2 +-
>  drivers/iio/buffer/industrialio-buffer-dmaengine.c | 2 +-
>  drivers/iio/chemical/scd4x.c                       | 2 +-
>  drivers/iio/chemical/sps30.c                       | 2 +-
>  drivers/iio/common/ms_sensors/ms_sensors_i2c.c     | 4 ++--
>  drivers/iio/frequency/ad9523.c                     | 2 +-
>  drivers/iio/industrialio-buffer.c                  | 4 ++--
>  drivers/iio/industrialio-core.c                    | 2 +-
>  drivers/iio/light/lm3533-als.c                     | 6 +++---
>  drivers/iio/proximity/as3935.c                     | 4 ++--
>  drivers/iio/temperature/max31856.c                 | 4 ++--
>  drivers/iio/temperature/max31865.c                 | 4 ++--
>  14 files changed, 22 insertions(+), 22 deletions(-)
> 




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux