iio:adc:ti-adc081c: Drop of_match_ptr and change to mod_devicetable.h
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jun 2020 12:36:46 +0000 (13:36 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:10 +0000 (20:24 +0100)
commitb08737494427fde412c44217e5cafe25cd99109a
treea6986c90eb9794a401c9fd543d79f87815942bb5
parent34eb7366bcb62a71cf5f835c8275b61b14935584
iio:adc:ti-adc081c: Drop of_match_ptr and change to mod_devicetable.h

Whilst this driver already supports explicit ACPI bindings we
might as well also allow for PRP0001 based binding.

I'm also keen to remove of_match_ptr from IIO drivers to avoid
this (now) anti-pattern getting coppied into new drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/adc/ti-adc081c.c