]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit704e22bf7cbd9ee42171e7e6903c2594ff5ab202
tree94870359154ae0c84e3d194267d8d4f1b1e3d1a3
parenteacef8e7b181cba67fa9ccffb3417842729b2b57
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