diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-10-09 12:45:23 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2012-12-05 10:55:55 -0800 |
commit | 2fa5222efeb4a76597ceace21c0435d49a34715e (patch) | |
tree | 67381036996eba50dab2ff07cceeb580876cfa33 /drivers/gpio | |
parent | d9b24e373d160ffd56633cc9a4b2e4013c2682d1 (diff) | |
download | linux-3.10-2fa5222efeb4a76597ceace21c0435d49a34715e.tar.gz linux-3.10-2fa5222efeb4a76597ceace21c0435d49a34715e.tar.bz2 linux-3.10-2fa5222efeb4a76597ceace21c0435d49a34715e.zip |
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>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions