iio:adc:max9611: Switch to generic firmware properties.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Dec 2021 17:01:35 +0000 (17:01 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Dec 2021 17:12:55 +0000 (17:12 +0000)
commitc88eba5a186e6de87d7dcdf160d7d9fb989a191c
treefa91a8344eb1f92a191bbf81a7e0cc0fc96026c1
parentfdb726c4f9ef8a9301137530344aa4303fa0e571
iio:adc:max9611: Switch to generic firmware properties.

Note the handling of the device tree node in this driver was somewhat
unusual.  I have cleaned that up whilst also moving over to generic
properties.

Part of a general attempt to move all IIO drivers over to generic
firmware properties both as a general improvement and to avoid sources
of cut and paste into future drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/adc/max9611.c