staging: iio: tsl2x7x: migrate in_illuminance0_integration_time sysfs attribute to...
authorBrian Masney <masneyb@onstation.org>
Sat, 30 Sep 2017 01:09:20 +0000 (21:09 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Oct 2017 19:50:28 +0000 (20:50 +0100)
commit4546813a7f6b3dc67ac258666092b1952c4e2ea1
treef72d9bb43037f7745a970a9d3fe4bcb8d69b5d56
parentb476eef6e9bf169c9c38a0e32635628fb18138af
staging: iio: tsl2x7x: migrate in_illuminance0_integration_time sysfs attribute to iio_chan_spec

The driver explicitly creates the in_illuminance0_integration_time sysfs
attribute outside the IIO core. This attribute is available in the IIO
core so this patches migrates the attribute to be created by
the iio_chan_spec.

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