iio: light: opt3001: Add mod_devicetable.h and drop use of of_match_ptr
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:02:04 +0000 (16:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:43:30 +0000 (15:43 +0100)
commit0741678ece687f53b7e8852731822ed5646f5cb2
treed8245c005e3787b582f1bcf6b6d097988085c153
parentde1cbfe1174fe015c2df7fead1f43ec6edc74fc1
iio: light: opt3001: Add mod_devicetable.h and drop use of of_match_ptr

Enables probing via ACPI PRP0001 but mostly about removing examples
that might be copied to new drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
drivers/iio/light/opt3001.c