]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: gp2ap020a00f: Swap of.h for mod_devicetable.h + drop of_match_ptr
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:02:03 +0000 (16:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:42:22 +0000 (15:42 +0100)
commit943f302f72311969e69f87f8ec26e57039e46a18
tree9e05cfebaa23ccd598637d945a0927764567650f
parentd88351c7debf7a9280496b6061dbdc5ff8b1e6cf
iio: light: gp2ap020a00f: Swap of.h for mod_devicetable.h + drop of_match_ptr

Also drops ifdef protections for CONFIG_OF.

Enables probing via ACPI PRP0001 and removes an example that might be
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/gp2ap020a00f.c