iio: light: vl6180: add include of mod_devicetable.h and drop of_match_ptr
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:02:06 +0000 (16:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:46:20 +0000 (15:46 +0100)
commit77baa8d6bced7dbe67c6a9ffae749e5d77b38f80
tree80b5bbb70da6b8b60eb73b86d0dfaea62dc37391
parent645aee51af92147801067cacda45ddfdbe544caf
iio: light: vl6180: add include of mod_devicetable.h and drop of_match_ptr

Enables probing via ACPI PRP0001 route and removes an example of
an approach we no longer want people to copy.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
drivers/iio/light/vl6180.c