iio: light: cm3232: Add mod_devicetable.h include and drop of_match_ptr
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:02:02 +0000 (16:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:40:00 +0000 (15:40 +0100)
commit1de94b5945f2a3b1be29a235edf22af6d5b2f140
tree68f1b924c7cd85acf501c235fa8bf5c53be0d724
parent9065b78028c5a50f3c352f6fa904a7db9d470af3
iio: light: cm3232: Add mod_devicetable.h include and drop of_match_ptr

Enables ACPI probing via PRP0001 and removes an example that might
be cut and paste to a new driver.

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