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)
commitf73a047456e2fddce6d975d8ed87aecb086c0524
treebb87e7e5d94dbca8b5eed879f310e4ae6eb65dd5
parent3699e268a773fd304f8e80b3f163a395919a64b7
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