iio: light: bu27008: add chip info
authorMatti Vaittinen <mazziesaccount@gmail.com>
Wed, 2 Aug 2023 07:36:53 +0000 (10:36 +0300)
committerJonathan Cameron <jonathan.cameron@huawei.com>
Tue, 8 Aug 2023 08:50:51 +0000 (09:50 +0100)
commitccca97fb3c157136396108feda586b862f68c83d
tree5918c8caf9da4f804ddf691e023a7824ab5bb967
parentce2a8c1600668466f658231834251c4307ce559e
iio: light: bu27008: add chip info

The ROHM BU27010 RGB + flickering sensor is in many regards similar to
the BU27008. Prepare for adding support for BU27010 by allowing
chip-specific properties to be brought from the of_device_id data.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/d5994648033d5513993b8d72eb186ddda211b5ac.1690958450.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/rohm-bu27008.c