commit | b2469f422f9ee2054359c4ec609c3bdb1f2d52f5 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Oct 28 20:31:45 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:45 2010 +0200 |
tree | 2f7052c24378f144dc940f1095b3c408a61d1ba1 | |
parent | 093d1a4794cc23dd221019eb1cdf42b16b48abcc [diff] |
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>