mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
hwmon: (w83795) Refactor bank selection
Move the bank selection code to a separate function, to avoid duplicating it in read and write functions. Improve error reporting on register access error. Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
093d1a4794
commit
b2469f422f
1 changed files with 50 additions and 43 deletions
Loading…
Add table
Add a link
Reference in a new issue