diff options
| author | 2016-10-28 06:00:18 -0400 | |
|---|---|---|
| committer | 2016-11-01 18:50:07 +0000 | |
| commit | 143c30f4a51ebff3474643994499468cf56240af (patch) | |
| tree | 085c2a297a58345595130fd13cea738b6f74b22a /include/linux/start_kernel.h | |
| parent | staging: iio: tsl2583: convert to use iio_chan_spec and {read,write}_raw (diff) | |
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/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
