From: Guenter Roeck Date: Tue, 9 Oct 2012 19:45:23 +0000 (-0700) Subject: hwmon: (coretemp) Use model table instead of if/else to identify CPU models X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~95^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa5222efeb4a76597ceace21c0435d49a34715e;p=pandora-kernel.git hwmon: (coretemp) Use model table instead of if/else to identify CPU models Make the code easier to extend and easier to adjust by using a model table listing CPU models, stepping/mask, and associated TjMax. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare --- Reading git-diff-tree failed