]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28ca0cd677db8f4f99d306cca385636555a716d2
treed8245c005e3787b582f1bcf6b6d097988085c153
parent943f302f72311969e69f87f8ec26e57039e46a18
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