diff options
author | Srinivas Pandruvada <[email protected]> | 2014-01-23 18:50:22 -0800 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2014-02-17 15:09:47 +0100 |
commit | 1a214ae5d1a66ead18c5e8c3a8d03b969b0ee647 (patch) | |
tree | 7839c6acba3c7f1e2f86c2a88e2d167f1d234c56 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e02cee4819ae51f26333471c8eed50678b08572a (diff) |
iio: hid-sensor-hub: Remove hard coded indexes
Remove the hard coded indexes, instead search for usage id and
use the index to set the power and report state.
This will fix issue, where the report descriptor doesn't contain
the full list of possible selector for power and report state.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions