summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-10-28 13:00:19 +0300
committerJonathan Cameron <jic23@kernel.org>2016-11-01 21:50:07 +0300
commitb2fa81be96ca315a164ef7bc1d87fbf025fd9954 (patch)
tree6bc733628a7d05a247e64237eb56334db58bf833 /include/linux
parent143c30f4a51ebff3474643994499468cf56240af (diff)
downloadlinux-b2fa81be96ca315a164ef7bc1d87fbf025fd9954.tar.xz
staging: iio: tsl2583: use IIO_*_ATTR* macros to create sysfs entries
Use the IIO_CONST_ATTR, IIO_DEVICE_ATTR_RW, and IIO_DEVICE_ATTR_WO macros for creating the in_illuminance_calibscale_available, in_illuminance_integration_time_available, in_illuminance_input_target, in_illuminance_calibrate, and in_illuminance_lux_table sysfs entries. Previously these sysfs entries were prefixed with illuminance0_, however they are now prefixed with in_illuminance_ to make these sysfs entries consistent with how the IIO core is creating the other sysfs entries. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions