From: Jean Delvare Date: Thu, 28 Oct 2010 18:31:45 +0000 (+0200) Subject: hwmon: (w83795) Refactor bank selection X-Git-Tag: v2.6.37-rc1~59^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2469f422f9ee2054359c4ec609c3bdb1f2d52f5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed