commit | 63b1be78774f8c3bdb9efd862ba7dfe8e2c056ff | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue Apr 28 19:29:21 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun May 10 10:46:02 2020 +0100 |
tree | 5e19cc70b2b2eaa237dea6935cf5e3d1e0931bc9 | |
parent | f50f98310e51b3712a4e544c75615e89c8233125 [diff] |
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>