]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio: light: vcnl4035 add i2c_device_id
authorVaishnav M A <vaishnav@beagleboard.org>
Sun, 18 Oct 2020 19:53:57 +0000 (01:23 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Nov 2020 15:28:32 +0000 (15:28 +0000)
commit41a4b8f13a39f846747f5cffc58c315e72a29606
tree695935c95921b21efbf0d5bd2cc2a63ca3d396fa
parent8bb97bab3f13f396f53d32defd4f267309733884
iio: light: vcnl4035 add i2c_device_id

Add i2c_device_id table for the vcnl4035 driver,
enabling device instantiation using i2c_new_client_device()
or from userspace in cases where device-tree based description
is not possible now, like device(s) on a gbphy i2c adapter
created by greybus.

Signed-off-by: Vaishnav M A <vaishnav@beagleboard.org>
Link: https://lore.kernel.org/r/20201018195357.GA814864@ubuntu
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4035.c