iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor
authorAngus Ainslie (Purism) <angus@akkea.ca>
Thu, 21 Mar 2019 15:40:46 +0000 (08:40 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:47 +0000 (20:20 +0100)
commit5a441aade5b381fd2a0a2f83cea5e1b1f57d6afd
tree812ceed4c93c61368a882fc3c06150c519741026
parent5da8affed2f8f8251653733d7812807c7eac7637
iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor

The VCNL4040 is almost identical to the VCNL4200 as far as register
layout goes but just need to check a different ID register location.

Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c