diff options
author | Astrid Rost <astrid.rost@axis.com> | 2023-06-13 15:50:19 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-07-20 19:21:29 +0100 |
commit | 2be17b68892893a43864096d02a330b280e1ebdf (patch) | |
tree | d6eb3d7ec6109868b0e55dad5ae200ddf1f1c8d3 /drivers/iio/light/apds9300.c | |
parent | e55c96daf7f12d9fb36109e4eae2af16b63fd92e (diff) |
iio: light: vcnl4000: Check type with switch case
Check IIO_PROXIMITY with switch case in order to make it easier
to add further types like light.
Add check for IIO_EV_INFO_VALUE for writing rising or falling events.
Signed-off-by: Astrid Rost <astrid.rost@axis.com>
Link: https://lore.kernel.org/r/20230613135025.2596641-4-astrid.rost@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/apds9300.c')
0 files changed, 0 insertions, 0 deletions