commit | bfdf7f1024e535eb66250d9ffea30e599e1e5c5a | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Thu May 10 20:12:18 2018 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat May 12 12:17:49 2018 +0100 |
tree | dee3afc40efaac8b29ba1fe352a659330bc0e17a | |
parent | cc566e90cba70966b5c84ac373110d499b8be4ac [diff] |
staging: iio: tsl2x7x: use macro to populate tsl2X7X_device_info This patch creates a macro that populates the tsl2X7X_device_info structure to reduce duplicated code in the driver. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>