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)
commit50c50b975d566e9384c3ae84fc37a997ea18eedd
treec3e68cec88bf3918c4c7070009717ca4079fff57
parent1ebc787ae5181c98060f25157b490cdad92728a7
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