diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-04-01 20:15:38 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 16:32:37 +0300 |
commit | 559313c4e9b29f5d0ba246f69d1052ef2fd9b423 (patch) | |
tree | a5bbd377520dc3780f49dec6b4fa7e909c10e002 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cc18da79d9b7faf1ec617e2478d57d25d7b2f93a (diff) | |
download | linux-559313c4e9b29f5d0ba246f69d1052ef2fd9b423.tar.xz |
hwmon: (it87) Simplify reading voltage registers
Voltage registers are non-sequential. Use a register array instead
of a macro to map sensor index to register to simplify the code
and to make it easier to add additional voltage sensors.
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions