]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:ti-adc0832: drop CONFIG_OF and of_match_ptr protections
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jun 2020 12:36:47 +0000 (13:36 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:10 +0000 (20:24 +0100)
commit0e8d7b68d81fd9e9cdc96f8b13c36d98705d5d1a
treeae056b3ada32de722dedebc5d1d946f8ced55e65
parent3553c44a1de01134cedd58593c753ca76bb86bea
iio:adc:ti-adc0832: drop CONFIG_OF and of_match_ptr protections

These just prevent the driver being used with ACPI PRP0001.

I am also trying to remove these from IIO in general to avoid
them being coppied into new drivers.

Also include the mod_devicetable.h header as we are using
of_device_id which is defined in there.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/adc/ti-adc0832.c