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)
commitfdb726c4f9ef8a9301137530344aa4303fa0e571
treeb2cc6b34cf240afcf8fb9071966a1ec3e80b53f3
parent92311717b3a37f2c888b30b940510ed6c058bfb0
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