diff options
author | Brian Masney <masneyb@onstation.org> | 2018-03-24 21:05:54 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-25 19:19:10 +0200 |
commit | a2fdb4e1a6c8e68f95eae71724a4e071b8394a72 (patch) | |
tree | 500634c704da48a7ed00e44606b8e7a7eb509f8b /drivers/dma | |
parent | staging: iio: tsl2x7x: use auto increment I2C protocol (diff) | |
download | linux-a2fdb4e1a6c8e68f95eae71724a4e071b8394a72.tar.xz linux-a2fdb4e1a6c8e68f95eae71724a4e071b8394a72.zip |
staging: iio: tsl2x7x: use either direction for IIO_EV_INFO_{ENABLE,PERIOD}
The events IIO_EV_INFO_VALUE and IIO_EV_INFO_ENABLE currently have a
falling and rising direction configured. There does not need to be a
separate distinction so this patch changes these to use the
either direction. Directory listing of event sysfs attributes for a
TSL2772 with this patch applied:
in_intensity0_thresh_either_en
in_intensity0_thresh_either_period
in_intensity0_thresh_falling_value
in_intensity0_thresh_rising_value
in_proximity0_thresh_either_en
in_proximity0_thresh_either_period
in_proximity0_thresh_falling_value
in_proximity0_thresh_rising_value
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions