commit | deaecbef366497c3435b573fed7991d89af9f59c | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Thu Oct 19 16:06:20 2017 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Oct 21 18:31:06 2017 +0100 |
tree | c711ec1f0e4e0e8d81072497a0f5abad8c5e052e | |
parent | 59dba8facb4ba20ffa6b6a1c76c41f3c662e075a [diff] |
staging: iio: tsl2x7x: migrate *_thresh_period sysfs attributes to iio_event_spec The sysfs attributes in_intensity0_thresh_period and in_proximity0_thresh_period are currently directly created by the driver. This patch migrates the creation of these sysfs attributes from the driver to using the IIO core via iio_event_spec. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>