iio:adc:ti-adc12138: Switch to generic firmware properties and drop of_match_ptr
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Dec 2021 17:01:37 +0000 (17:01 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Dec 2021 17:13:07 +0000 (17:13 +0000)
commit3c3969a0c99b0da5223d869b3b21ce3d38931810
tree94870359154ae0c84e3d194267d8d4f1b1e3d1a3
parent4efc1c614d334883cce09c38aa3fe74d3fb0bbf0
iio:adc:ti-adc12138: Switch to generic firmware properties and drop of_match_ptr

This enables using the driver with other firmware types such
as ACPI via PRP0001.

Also part of a general attempt to move IIO drivers over to generic
properties to avoid opportunities for cut and paste.

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