commit | 2fa5222efeb4a76597ceace21c0435d49a34715e | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Oct 09 12:45:23 2012 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Dec 05 10:55:55 2012 -0800 |
tree | 67381036996eba50dab2ff07cceeb580876cfa33 | |
parent | d9b24e373d160ffd56633cc9a4b2e4013c2682d1 [diff] |
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 <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>