hwmon, fam15h_power: Remove needless pci dev id
PATCH 1/1 hwmon, fam15h_power: Remove needless pci dev id
PCI_DEVICE_ID_AMD_16H_NB_F4 can be obtained from it's definition in pci_ids.h. So we don't have to define it again here.
Signed-off-by Aravind Gopalakrishnan <[email protected]>
--- drivers/hwmon/fam15h_power.c | 3 --- 1 file changed, 3 deletions(-)
drivers/hwmon/fam15h_power.c +0 -3
@@ -31,9 +31,6 @@ MODULE_DESCRIPTION("AMD Family 15h CPU processor power monitor");MODULE_AUTHOR ("Andreas Herrmann <[email protected]>" );MODULE_LICENSE ("GPL" ); -/* Family 16h Northbridge's function 4 PCI ID */ -#define PCI_DEVICE_ID_AMD_16H_NB_F4 0x1534 -/* D18F3 */ #define REG_NORTHBRIDGE_CAP 0xe8
Signature · 1 line
1.8.1.2
Quoted 5 lines · Aravind Gopalakrishnan
PCI_DEVICE_ID_AMD_16H_NB_F4can be obtained from it's definition inpci_ids.h. So we don't have to define it again here.Signed-off-by Aravind Gopalakrishnan <[email protected]>
Applied to -next.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors