diff options
author | Andrew F. Davis <[email protected]> | 2016-05-31 13:44:59 -0500 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2016-06-10 02:45:12 +0200 |
commit | 5630b4334c676ff60d9613e7b6a4cc89cb562acb (patch) | |
tree | 16a705e2b4a7279a58534c825c80d31b3c0bb97c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 5d9e01b31dc06a466ef2d35620d93a6c9941b387 (diff) |
power_supply: bq27xxx_battery: Index register numbers by enum
Currently we use tables to map from register function to register number,
these tables assume the enum used to describe the register function
and index the register number is ordered to match the enum order. Index
the register numbers by the enum instead. This also removes the need
to comment each value with its function.
Signed-off-by: Andrew F. Davis <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions