diff options
| author | Brian Masney <masneyb@onstation.org> | 2016-11-12 21:19:34 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-11-13 16:07:29 +0300 |
| commit | 0b6b361e161db7e56a5f06300dabfb325060f269 (patch) | |
| tree | 14df5bfa9e4eb6cc8b04a22d3f3c70114920817f /include/linux | |
| parent | 8386dd50a7d22bf42a412cfd7b1d24b08c1065ea (diff) | |
| download | linux-0b6b361e161db7e56a5f06300dabfb325060f269.tar.xz | |
staging: iio: tsl2583: move from a global to a per device lux table
The driver contains a global lux table that can be updated via sysfs.
Change this to a per device lux table so that multiple devices can be
hooked up to the same system with different lux tables.
There are 10 entries, plus 1 for the termination segment, set aside for
the entries in the lux table. When updating the lux table via sysfs,
only 9 entries, plus the terminator, could be added. This changes
the code to allow for the 10 entries, plus the terminator.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
