]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: bh1780: use mod_devicetable.h and drop of_match_ptr macro
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:02:00 +0000 (16:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:37:04 +0000 (15:37 +0100)
commite15077d4a05edb3e660f3a4540fd21312a18293a
treebb87e7e5d94dbca8b5eed879f310e4ae6eb65dd5
parent2916db0ba3240e41504ed6aa42608f1223dfcb6a
iio: light: bh1780: use mod_devicetable.h and drop of_match_ptr macro

Whilst this enables ACPI binding or the device via PRP0001 the
primary aim is to remove potential for these two things to 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/bh1780.c