diff options
| author | Brian Masney <masneyb@onstation.org> | 2016-10-28 13:00:18 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-11-01 21:50:07 +0300 |
| commit | 143c30f4a51ebff3474643994499468cf56240af (patch) | |
| tree | 085c2a297a58345595130fd13cea738b6f74b22a /include/linux/input | |
| parent | b3d941550d9d3753ed76f09c9b1015c777f41f17 (diff) | |
| download | linux-143c30f4a51ebff3474643994499468cf56240af.tar.xz | |
staging: iio: tsl2583: convert illuminance0_calibscale sysfs attr to use iio_chan_spec
The illuminance0_calibscale sysfs attribute is not currently created by
the IIO core. This patch adds the appropriate mask to iio_chan_spec,
along with the appropriate data handling in the read_raw() and
write_raw() functions, so that the sysfs attribute is created by the IIO
core. With this change, this sysfs entry will have its prefix changed
from illuminance0_ to in_illuminance_.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
