Brian Masney b1cb00d51e iio: light: tsl2772: fix reading proximity-diodes from device tree
tsl2772_read_prox_diodes() will correctly parse the properties from
device tree to determine which proximity diode(s) to read from, however
it didn't actually set this value on the struct tsl2772_settings. Let's
go ahead and fix that.

Reported-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/lkml/20230327120823.1369700-1-trix@redhat.com/
Fixes: 94cd1113aaa0 ("iio: tsl2772: add support for reading proximity led settings from device tree")
Signed-off-by: Brian Masney <bmasney@redhat.com>
Link: https://lore.kernel.org/r/20230404011455.339454-1-bmasney@redhat.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-04-08 10:44:34 +01:00
..
2023-03-28 13:30:55 +02:00
2022-06-04 14:04:27 -07:00
2022-11-27 15:05:05 +01:00
2023-03-28 13:30:55 +02:00
2021-11-17 17:51:35 +00:00
2023-01-21 17:35:23 +00:00
2021-12-16 17:29:46 +00:00
2021-12-16 17:29:46 +00:00