]> git.baikalelectronics.ru Git - kernel.git/commit
iio: vcnl4000: add VCNL4010 and VCNL4020 device id
authorTomas Novotny <tomas@novotny.cz>
Wed, 25 Jul 2018 15:18:19 +0000 (17:18 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Jul 2018 08:41:53 +0000 (09:41 +0100)
commitcca8e385c3159d726f67befa031c7d266e2278d4
treec3e68cec88bf3918c4c7070009717ca4079fff57
parentf388081fbdee7daffa9c8c5a2c25c1152e137998
iio: vcnl4000: add VCNL4010 and VCNL4020 device id

The driver already supports VCNL4010/20 devices. The currently supported
features and detectable product id are the same, so add shared id for
them.

This is a groundwork to extend the driver by detecting incorrectly
specified device id.

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c