]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: veml6070: use field to set integration time
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 17 Oct 2024 21:39:26 +0000 (23:39 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Oct 2024 18:19:25 +0000 (19:19 +0100)
commit14a4f5b4cfaec0d74e7dadb921c39907e86686b9
treeedad36a27edac7d1300a4343481f97c34ebf58fd
parenteb0e400c510ae31b3d5e4a460291b3d8e2dcff17
iio: light: veml6070: use field to set integration time

Define the integration time within the configuration register as a field
to easy its handling as an index, preparing the driver to support
configurable integration times.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241017-veml6070-integration-time-v1-2-3507d17d562a@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/veml6070.c