summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-10-28 13:00:18 +0300
committerJonathan Cameron <jic23@kernel.org>2016-11-01 21:50:07 +0300
commit143c30f4a51ebff3474643994499468cf56240af (patch)
tree085c2a297a58345595130fd13cea738b6f74b22a /include/linux/stringify.h
parentb3d941550d9d3753ed76f09c9b1015c777f41f17 (diff)
downloadlinux-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/stringify.h')
0 files changed, 0 insertions, 0 deletions