iio: proximity: vl53l0x-i2c add i2c_device_id
authorVaishnav M A <vaishnav@beagleboard.org>
Sun, 18 Oct 2020 19:51:02 +0000 (01:21 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Nov 2020 15:28:32 +0000 (15:28 +0000)
commit8bb97bab3f13f396f53d32defd4f267309733884
tree3ef585690751cf45316fba94e7412ff68aa79ec7
parentb3b3ef6a082fceeab38d2a28f69bc7e69ef80f92
iio: proximity: vl53l0x-i2c add i2c_device_id

Add i2c_device_id table for the vl53l0x-i2c driver,
helps in 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/20201018195102.GA814713@ubuntu
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/vl53l0x-i2c.c