commit | 0a4596f5bd5ae3d234803353b14deef26663722e | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Tue Jul 21 18:14:42 2020 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Sep 03 19:40:45 2020 +0100 |
tree | e45cfd95700dacdd2ae85e772f68f04045634fb7 | |
parent | ad5bd081c62be386e8f0fc360e452c6e9e3005a1 [diff] |
iio:adc:ti-adc108s102: Drop CONFIG_OF and of_match_ptr protections I'm trying to clean this (now) anti-pattern out of IIO to avoid cut and paste into new drivers. Also add an include of mod_devicetable.h as the driver directly uses struct of_device_id which is defined in there. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Jan Kiszka <jan.kiszka@siemens.com>