diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-10-28 20:31:45 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-10-28 20:31:45 +0200 |
commit | b2469f422f9ee2054359c4ec609c3bdb1f2d52f5 (patch) | |
tree | 2f7052c24378f144dc940f1095b3c408a61d1ba1 /drivers/gpio | |
parent | 093d1a4794cc23dd221019eb1cdf42b16b48abcc (diff) | |
download | blackbird-op-linux-b2469f422f9ee2054359c4ec609c3bdb1f2d52f5.tar.gz blackbird-op-linux-b2469f422f9ee2054359c4ec609c3bdb1f2d52f5.zip |
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>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions