mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
e7e1ca6ef4
commit
83cc8985b8
1 changed files with 11 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue