staging: iio: tsl2x7x: move calibscale_available attribute to IIO_INTENSITY channel
authorBrian Masney <masneyb@onstation.org>
Fri, 4 May 2018 02:53:12 +0000 (22:53 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 May 2018 18:05:37 +0000 (19:05 +0100)
commit7775e1d1e74557e2b02a11fce4e0fa74f36f51f4
treeec5ab37e201295a9471b339cfbccb07ca224ba16
parent95d22154d6bb980a80d59e500e8350d9a0e03f92
staging: iio: tsl2x7x: move calibscale_available attribute to IIO_INTENSITY channel

The calibscale_available attribute is currently associated with the
IIO_LIGHT channel but should be associated with the IIO_INTENSITY
channel. This patch corrects that association and it also corrects
lines that were unnecessarily split for the
in_intensity0_integration_time sysfs attribute.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/light/tsl2x7x.c