linux/drivers/staging/iio
Brian Masney 11031d7df0 staging: iio: tsl2x7x: use IIO_CONST_ATTR for calibscale_available
The in_intensity0_calibscale_available sysfs attribute has code that
checks the device type to determine which calibration scales are
available. This check is not necessary since all of the supported
ALS device types use the scales 1 8 16 120. This patch converts the
sysfs attribute to use IIO_CONST_ATTR. The following device datasheets
were checked: tsl2571, tsl2771, tmd2771, tsl2572, tsl2772, tmd2772.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-05-06 19:06:46 +01:00
..
accel Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
adc staging: iio: adc: simplify getting .drvdata 2018-04-28 16:17:59 +01:00
addac Staging: iio: adt7316: Move symbol export to definition 2018-03-10 15:18:56 +00:00
cdc staging: iio: ad7746: Fix bound checkings 2018-04-21 15:38:38 +01:00
Documentation staging:iio:docs: drop setting of THIS_MODULE from staging docs. 2017-09-03 18:10:28 +01:00
frequency staging:iio:frequency: drop assign iio_info.driver_module 2017-08-22 22:14:55 +01:00
gyro staging:iio:gyro:adis16060 drop assign iio_info.driver_module 2017-08-22 22:14:55 +01:00
impedance-analyzer staging: iio: ad5933: switch buffer mode to software 2018-01-28 08:24:20 +00:00
light staging: iio: tsl2x7x: use IIO_CONST_ATTR for calibscale_available 2018-05-06 19:06:46 +01:00
meter staging:iio:ade7854: Remove read_reg_* duplications 2018-03-24 13:28:05 +00:00
resolver staging: iio: ad2s1200: Improve readability with be16_to_cpup 2018-04-28 18:12:03 +01:00
trigger staging: iio: trigger: blackfin timer: replace device_attr with device_attr_rw 2018-01-08 16:03:43 +01:00
Kconfig iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO staging:iio:TODO drop outdated entries in this todo. 2016-10-23 19:33:40 +01:00