iio: light: apds9960: Fix iio_event_spec structures
authorSubhajit Ghosh <subhajit.ghosh@vixtechnology.com>
Thu, 10 Nov 2022 10:12:41 +0000 (18:12 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 23 Nov 2022 19:58:45 +0000 (19:58 +0000)
commit5ae34494cf37ae6383f4bd674f343ef20833024d
treedd04d2ada32792be414064cc0f78b9cecc5701cc
parent7b4452381a966de33707718aa8d79672cc8caa2f
iio: light: apds9960: Fix iio_event_spec structures

There is only one interrupt enable option for both ALS low and high
thresholds, and one for both Proximity low and high thresholds.

Signed-off-by: Subhajit Ghosh <subhajit.ghosh@vixtechnology.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Link: https://lore.kernel.org/r/20221110101241.10576-1-subhajit.ghosh@vixtechnology.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/apds9960.c