From: Jean Delvare Date: Fri, 4 Nov 2011 11:00:47 +0000 (+0100) Subject: hwmon: (w83627ehf) Clean up probe function X-Git-Tag: v3.2-rc1~64^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ba71de5f81bbf639b5dcea2bc2c33cdb87ed782;p=pandora-kernel.git hwmon: (w83627ehf) Clean up probe function The probe function has grown pretty large, I think it's time for some cleanups, starting with these two simple ones: * Move temp3/in6 check for the W83667HG later in the function, where it is done for all other chip types. * Move temperature register setting to a separate function, to avoid code duplication. Signed-off-by: Jean Delvare Acked-by: Guenter Roeck --- Reading git-diff-tree failed