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

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

 



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.

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

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

 drivers/staging/iio/light/isl29018.c | 294 +++++++++++++++++++----------------
 1 file changed, 163 insertions(+), 131 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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