commit | 559313c4e9b29f5d0ba246f69d1052ef2fd9b423 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Apr 01 10:15:38 2015 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Apr 19 06:32:37 2016 -0700 |
tree | a5bbd377520dc3780f49dec6b4fa7e909c10e002 | |
parent | cc18da79d9b7faf1ec617e2478d57d25d7b2f93a [diff] |
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>