Skip to contentSkip to conversation

: (k10temp) remove duplicate pci-id define

PATCH In review Adam Majer 3 participants 4 messages Jul 17, 2015

Subsystems (2)
lore
Share & tools
lore

Adam Majer

author
#0 lore raw

PATCH 1/1 : (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
#1 lore raw

Hi Adam,

Quoted 10 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)

This looks good, however per Documentation/SubmittingPatches I need your Signed-off-by so that I can commit this patch.

Please also not that the subject should read hwmon: instead of [hwmon]:.

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 1 line · Adam Majer

PCI_DEVICE_ID_AMD_15H_M60H_NB_F3 is now defined in pci_ids.h

Quoted 9 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

author
#3 lore raw
In reply to Adam Majer
Quoted 4 lines · Jean Delvare

Hi Adam,

This looks good, however per Documentation/SubmittingPatches I need your Signed-off-by so that I can commit this patch.

Hi Jean,

Sorry, completely forgot about this!

Quoted 1 line

Please also not that the subject should read hwmon: instead of [hwmon]:.

Fixed.

Quoted 4 lines

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support

Thank you,

Signature · 7 lines
Adam Majer
[email protected]

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