diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-28 13:36:48 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-07 20:24:10 +0100 |
commit | f14bac473fc3ef7df683328ec733dd9713dad162 (patch) | |
tree | bf90171f572ad8562399cba48d1d8a49d9fac7a5 /drivers/iio/adc/mcp320x.c | |
parent | 0896ffdd835601ab3d6b4edf91543c505a3f2757 (diff) |
iio:adc:ti-adc084s021: drop of_match_ptr protection
Allows ACPI PRP0001 to be used with this driver.
Also adds mod_devicetable.h header as the driver is directly using
struct of_device_id which is defined in that file.
I'm also trying to clear out of_match_ptr use in IIO to avoid it
being cut and paste into new drivers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: MÃ¥rten Lindahl <martenli@axis.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/iio/adc/mcp320x.c')
0 files changed, 0 insertions, 0 deletions