Skip to contentSkip to conversation

hwmon: (k10temp) remove duplicate pci-id define

PATCH Applied Adam Majer 3 participants 4 messages Jul 17, 2015 – Jul 25, 2015

Subsystems (2)
lore
Share & tools
lore

Adam Majer

author
#0 lore raw

PATCH 1/1 hwmon: (k10temp) remove duplicate pci-id define

PCI_DEVICE_ID_AMD_15H_M60H_NB_F3 is now defined in pci_ids.h

---
 drivers/hwmon/k10temp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hwmon/k10temp.c +0 -1
index 1e7bdcd..9cdfde6 100644
@@ -60,7 +60,6 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);
  * Control]
  */
 #define F15H_M60H_REPORTED_TEMP_CTRL_OFFSET	0xd8200ca4
-#define PCI_DEVICE_ID_AMD_15H_M60H_NB_F3	0x1573
 
 static void amd_nb_smu_index_read(struct pci_dev *pdev, unsigned int devfn,
 				  int offset, u32 *val)
Signature · 7 lines
2.1.4


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Applied
#1 lore raw
Quoted 12 lines · Adam Majer

PCI_DEVICE_ID_AMD_15H_M60H_NB_F3 is now defined in pci_ids.h

---
 drivers/hwmon/k10temp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hwmon/k10temp.c +0 -0
index 1e7bdcd..9cdfde6 100644

drivers/hwmon/k10temp.c static DEFINE_MUTEX(nb_smu_ind_mutex); · line 65

Quoted 7 lines
drivers/hwmon/k10temp.c +0 -1
@@ -60,7 +60,6 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);
  * Control]
  */
 #define F15H_M60H_REPORTED_TEMP_CTRL_OFFSET	0xd8200ca4
-#define PCI_DEVICE_ID_AMD_15H_M60H_NB_F3	0x1573
 
 static void amd_nb_smu_index_read(struct pci_dev *pdev, unsigned int devfn,
 				  int offset, u32 *val)

Applied, thanks.

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Adam Majer
Quoted 3 lines · Adam Majer

PCI_DEVICE_ID_AMD_15H_M60H_NB_F3 is now defined in pci_ids.h

Jean, do you want to take that one, or should I take it ?

Thanks,
Guenter

Quoted 10 lines
---
  drivers/hwmon/k10temp.c | 1 -
  1 file changed, 1 deletion(-)
drivers/hwmon/k10temp.c +0 -0
index 1e7bdcd..9cdfde6 100644

drivers/hwmon/k10temp.c static DEFINE_MUTEX(nb_smu_ind_mutex); · line 65

Quoted 7 lines
drivers/hwmon/k10temp.c +0 -1
@@ -60,7 +60,6 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);
   * Control]
   */
  #define F15H_M60H_REPORTED_TEMP_CTRL_OFFSET	0xd8200ca4
-#define PCI_DEVICE_ID_AMD_15H_M60H_NB_F3	0x1573
 
  static void amd_nb_smu_index_read(struct pci_dev *pdev, unsigned int devfn,
  				  int offset, u32 *val)

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Adam Majer

Hi Guenter,

Quoted 8 lines · Guenter Roeck
Quoted 3 lines · Adam Majer

PCI_DEVICE_ID_AMD_15H_M60H_NB_F3 is now defined in pci_ids.h

Jean, do you want to take that one, or should I take it ?

I picked it.

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors