iio: srf08: add device tree table
authorAndreas Klinger <ak@it-klinger.de>
Wed, 16 Aug 2017 19:33:47 +0000 (21:33 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Aug 2017 06:59:07 +0000 (07:59 +0100)
commitc02b3a113d1b6d463e212711482bda280ecf34c1
treea4fa1a1402abcea7c0550e96e64c509926a8545b
parentfd63d9260a91aecb1330d02bfd573d9b7d47a72b
iio: srf08: add device tree table

Added MODULE_DEVICE_TABLE for device tree bindings.

It used to work without it by using the i2c_device_id table, but adding the
table makes everything clear and documented.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/srf08.c