]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hwmon/hwmon-vid.c
hwmon: (hwmon-vid) Add new entries to VRM model table
authorGuenter Roeck <linux@roeck-us.net>
Wed, 25 Jan 2012 03:06:24 +0000 (19:06 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:43 +0000 (18:27 -0700)
commit3230f7049e6325c27d6d40f2a1547cf75bc4ddff
treed46ee182421b2c6d1d2f02c8d56156f8457df905
parent9908ad4cd4bc3e6620e1819e7f9b43f109650e1b
hwmon: (hwmon-vid) Add new entries to VRM model table

The VRM model table was missing several Intel CPUs, resulting in wrong VRM table
entries to be used for many recent CPUs. Update it. Also, use values from
struct cpuinfo_x86 to retrieve CPU model information instead of re-calculating
it locally.

Cc: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/hwmon-vid.c