[PATCH v2 0/3] staging: iio: light: isl29018: Remove non-standard sysfs attributes

Roberta Dobrescu roberta.dobrescu at gmail.com
Sat Mar 14 17:06:39 EET 2015


This set of patches removes non-standard sysfs attributes used
by isl29018 driver.

Integration time is used instead of adc resolution since these are
strongly connected. Also, full scale range is controlled by scale.
isl29018 driver code is refactored in order to use these standard attributes.

Additionally, it renames lux_scale to calibscale and lux_uscale to
ucalibscale since these parameters are used for hardware applied calibration.

The purpose of these patches is to change the isl29018 driver to use
standard IIO attributes in order to be moved out of staging.

Roberta Dobrescu (3):
  staging: iio: light: isl29018: Remove non-standard sysfs attributes
  staging: iio: light: isl29018: Rename lux_scale to calibscale
  staging: iio: light: isl29018: Use standard sysfs attributes for scale
    and integration time

Changes since v1:
	* Use integration time for controlling adc resolution
	* Use scale to control range instead of introducing IIO_CHAN_INFO_RANGE

 drivers/staging/iio/light/isl29018.c | 285 ++++++++++++++++++-----------------
 1 file changed, 150 insertions(+), 135 deletions(-)

-- 
1.9.1



More information about the firefly mailing list