iio:adc:ti-adc128s052: drop of_match_ptr protection
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 21 Jul 2020 17:14:43 +0000 (18:14 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:45 +0000 (19:40 +0100)
commitad5bd081c62be386e8f0fc360e452c6e9e3005a1
treef09563d0fc7c6b644729f15194d039d432e94cb3
parent245d56d75ea6860c583fbd54382ad82bbd405910
iio:adc:ti-adc128s052: drop of_match_ptr protection

There is no real advantage in having these protections and
for parts that do not have an explicit ACPI ID, it prevents the
use of PRP0001. I'm trying to clear this out of IIO in general
to avoid copying in new drivers.

Include mod_devicetable.h as we are using of_device_id in here so
including that header is best practice.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
drivers/iio/adc/ti-adc128s052.c