staging: iio: tsl2x7x: add of_match table for device tree support
authorBrian Masney <masneyb@onstation.org>
Thu, 6 Jul 2017 22:56:18 +0000 (18:56 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 9 Jul 2017 17:18:29 +0000 (18:18 +0100)
commite3404a632a2ab3d8a7d9ed987cf84ca48bca5290
tree33376589f6a67fd31be0c65cf049454327636dbc
parent7c0299e879dd3c3fe0885fc07233b28f6007add3
staging: iio: tsl2x7x: add of_match table for device tree support

Add device tree support for the tsl2x7x IIO driver with no custom
properties. The device tree documentation is in a separate commit so
that the changes to trivial-devices.txt can go in via the device
tree subsystem.

Signed-off-by: Brian Masney <masneyb@onstation.org>
CC: Rob Herring <robh+dt@kernel.org>
CC: Mark Rutland <mark.rutland@arm.com>
CC: devicetree@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/light/tsl2x7x.c