commit | 83cc8985b82dff2ef85987a8481a92aab1b33323 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Sun Feb 06 08:10:15 2011 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Mon Mar 14 22:39:14 2011 -0700 |
tree | e89ac8f2ca8ec0b1df629c93ae1361bd5d5c5e3a | |
parent | e7e1ca6ef4f331c66392d3548cead7f1205f9278 [diff] |
hwmon: (w83627ehf) Optimize multi-bank register access Assume that each register is banked, and set the bank for each access. Cache the bank number so it only needs to be set if it changes. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Ian Dobson <i.dobson@planet-ian.com>