[PATCH v2 0/3] staging: iio: light: isl29018: Remove non-standard sysfs attributes
Roberta Dobrescu
roberta.dobrescu at gmail.com
Thu Feb 19 16:44:16 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 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 (3):
staging: iio: light: isl29018: Remove non-standard sysfs attributes
iio: Introduce IIO_CHAN_INFO_RANGE
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