]> git.baikalelectronics.ru Git - kernel.git/commit
iio:light:cm3605: Switch to generic firmware properties.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Dec 2021 17:01:34 +0000 (17:01 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Dec 2021 17:12:50 +0000 (17:12 +0000)
commitee877dcf8484a710f49f0081117f15e748f26b65
treeb2cc6b34cf240afcf8fb9071966a1ec3e80b53f3
parentc14c9d36a380834bf5c57404ef3d5f45da7836a8
iio:light:cm3605: Switch to generic firmware properties.

This enables use of other firmware types with minimal driver changes.
Part of an ongoing effort to move all IIO drivers over to generic
accessors in order to reduce the chance of of_* versions being
copied into new drivers.  Also updated the headers to reflect this change
including using mod_devicetable.h for struct of_device_id definition
rather than going via of.h

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/light/cm3605.c