]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (fam15h_power) Fix pci_device_id array
authorGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 25 Apr 2012 20:44:20 +0000 (13:44 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 26 Apr 2012 15:40:08 +0000 (08:40 -0700)
commitc3e40a9972428d6e2d8e287ed0233a57a218c30f
treec8b88e1ea6d9ad5f17e67a5fd2826b3d82527a7b
parenteae1415dda93fd4edcce0637aa64b3c9b567563f
hwmon: (fam15h_power) Fix pci_device_id array

pci_match_id() takes an *array* of IDs which must be properly zero-
terminated.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org # 3.0+: 00250ec hwmon: fam15h_power: fix bogus values
Cc: stable@vger.kernel.org # 3.0+
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/fam15h_power.c