summaryrefslogtreecommitdiffstats
path: root/drivers/misc/dummy-irq.c
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2019-09-17 16:56:36 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-09 19:11:28 +0100
commit1436a78c63495dd94c8d4f84a76d78d5317d481b (patch)
tree35c0f87f4792dbb9bcc6945a3763bd7b70cd3add /drivers/misc/dummy-irq.c
parentfdb828e2c71a09bb9e865f41b015597c5f671705 (diff)
downloadlinux-stable-1436a78c63495dd94c8d4f84a76d78d5317d481b.tar.gz
linux-stable-1436a78c63495dd94c8d4f84a76d78d5317d481b.tar.bz2
linux-stable-1436a78c63495dd94c8d4f84a76d78d5317d481b.zip
iio: light: fix vcnl4000 devicetree hooks
Since commit ebd457d55911 ("iio: light: vcnl4000 add devicetree hooks") the of_match_table is supported but the data shouldn't be a string. Instead it shall be one of 'enum vcnl4000_device_ids'. Also the matching logic for the vcnl4020 was wrong. Since the data retrieve mechanism is still based on the i2c_device_id no failures did appeared till now. Fixes: ebd457d55911 ("iio: light: vcnl4000 add devicetree hooks") Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Angus Ainslie (Purism) angus@akkea.ca Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/misc/dummy-irq.c')
0 files changed, 0 insertions, 0 deletions