From: Jean Delvare Date: Fri, 16 Sep 2011 19:21:43 +0000 (+0200) Subject: hwmon: (coretemp) Drop duplicate function get_pkg_tjmax X-Git-Tag: v3.1-rc8~7^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf9e9b09c3abb5447bbbf16c2d0cbe721e44f3f;p=pandora-kernel.git hwmon: (coretemp) Drop duplicate function get_pkg_tjmax Function get_pkg_tjmax is a simplified copy of get_tjmax. Drop it and always use get_tjmax, result is the same and this avoids code duplication. Also make get_tjmax less verbose: don't warn about MSR read failure when failure was expected, and don't report TjMax in the logs unless debugging is enabled. Signed-off-by: Jean Delvare Cc: Fenghua Yu Cc: Guenter Roeck Cc: Durgadoss R Acked-by: Fenghua Yu Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed