From: Jean Delvare Date: Sun, 24 Jul 2011 18:37:05 +0000 (+0200) Subject: hwmon: (lm90) Refactor reading of config2 register X-Git-Tag: v3.1-rc1~110^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f90be42fb383f39aa814b8e14de138da8973e5c1;p=pandora-kernel.git hwmon: (lm90) Refactor reading of config2 register Several vendors implement a second configuration register, which we check during device detection. Refactor the code to avoid duplication. Signed-off-by: Jean Delvare Cc: Stijn Devriendt Cc: Guenter Roeck Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed