Home
last modified time | relevance | path

Searched hist:"63 b1be78774f8c3bdb9efd862ba7dfe8e2c056ff" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/light/
H A Dcm32181.cdiff 63b1be78774f8c3bdb9efd862ba7dfe8e2c056ff Tue Apr 28 19:29:21 CEST 2020 Hans de Goede <hdegoede@redhat.com> iio: light: cm32181: Make lux_per_bit and lux_per_bit_base_it runtime settings

Make lux_per_bit and lux_per_bit_base_it settings stored in struct
cm32181_chip instead of a hardcoded (defined) values.

This is a preparation patch for reading some ACPI tables which specify
a device specific lux_per_bit value.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>