diff options
| author | Brian Masney <masneyb@onstation.org> | 2016-11-12 13:19:34 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-11-13 13:07:29 +0000 |
| commit | 0b6b361e161db7e56a5f06300dabfb325060f269 (patch) | |
| tree | 14df5bfa9e4eb6cc8b04a22d3f3c70114920817f /tools/perf/scripts/python | |
| parent | staging: iio: tsl2583: don't assume an unsigned int is 32 bits (diff) | |
| download | linux-0b6b361e161db7e56a5f06300dabfb325060f269.tar.gz linux-0b6b361e161db7e56a5f06300dabfb325060f269.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
