Skip to contentSkip to conversation

hwmon, fam15h_power: Remove needless pci dev id

PATCH Applied Aravind Gopalakrishnan 2 participants 2 messages Jul 10, 2014 – Jul 11, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/hwmon/fam15h_power.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/hwmon/fam15h_power.c +0 -3
index 6040121..d442000 100644
@@ -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