iio: light: st_uvis25: Add mod_devicetable.h and drop of_match_ptr
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:02:05 +0000 (16:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:44:36 +0000 (15:44 +0100)
commit645aee51af92147801067cacda45ddfdbe544caf
treecbc24b92b876a47e7137bb6db8bb56cce669ef9b
parent0741678ece687f53b7e8852731822ed5646f5cb2
iio: light: st_uvis25: Add mod_devicetable.h and drop of_match_ptr

Enables probing via ACPI PRP0001 and removes an example that we don't
want people to cut and paste into new drivers.

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