[PATCH v3 0/4] staging: iio: light: isl29018: Remove non-standard sysfs attributes
Roberta Dobrescu
roberta.dobrescu at gmail.com
Fri Feb 20 20:30:38 EET 2015
This set of patches removes non-standard sysfs attributes used
by isl29018 driver.
It introduces IIO_CHAN_INFO_RANGE and then refactors isl29018 driver
code in order to use standard attributes.
The purpose of these patches is to change the isl29018 driver to use
standard IIO attributes in order to be moved out of staging.
Changes since v2:
* Introduce separate patch for renaming lux_scale to calibscale
* Use isl29018_ranges[chip->range] instead of 1000 << (chip->range * 2)
Changes since v1:
* Rephrase commit messages in order to be more clear
* Recalculate illuminance scale values
* Rename lux_scale to calibscale
* Use local variables to keep track of range and scale and not
update the chip structure before knowing the hardware operations
succeded
Roberta Dobrescu (4):
staging: iio: light: isl29018: Remove non-standard sysfs attributes
iio: Introduce IIO_CHAN_INFO_RANGE
staging: iio: light: isl29018: Rename lux_scale to calibscale
staging: iio: light: isl29018: Use standard sysfs attributes for range
and scale
Documentation/ABI/testing/sysfs-bus-iio | 13 ++
drivers/iio/industrialio-core.c | 1 +
drivers/staging/iio/light/isl29018.c | 257 +++++++++++++++-----------------
include/linux/iio/iio.h | 1 +
4 files changed, 137 insertions(+), 135 deletions(-)
--
1.9.1
More information about the firefly
mailing list