diff options
| author | Brian Masney <[email protected]> | 2016-11-12 13:19:34 -0500 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-11-13 13:07:29 +0000 |
| commit | 0b6b361e161db7e56a5f06300dabfb325060f269 (patch) | |
| tree | 14df5bfa9e4eb6cc8b04a22d3f3c70114920817f /tools/perf/scripts/python/bin | |
| parent | 8386dd50a7d22bf42a412cfd7b1d24b08c1065ea (diff) | |
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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions