]> 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)
commitb8690fb92f9aa4df65e64cbcbe7a80f9ba5e2a3d
treed8245c005e3787b582f1bcf6b6d097988085c153
parenta323fd5ca6ccd1990e39d8965c94fcb832a2083f
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