All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon, fam15h_power: Remove needless pci dev id
@ 2014-07-10 22:16 ` Aravind Gopalakrishnan
  0 siblings, 0 replies; 4+ messages in thread
From: Aravind Gopalakrishnan @ 2014-07-10 22:16 UTC (permalink / raw)
  To: herrmann.der.user, jdelvare, linux, lm-sensors, linux-kernel
  Cc: Aravind Gopalakrishnan

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 <Aravind.Gopalakrishnan@amd.com>
---
 drivers/hwmon/fam15h_power.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 6040121..d442000 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -31,9 +31,6 @@ MODULE_DESCRIPTION("AMD Family 15h CPU processor power monitor");
 MODULE_AUTHOR("Andreas Herrmann <herrmann.der.user@googlemail.com>");
 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
 
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [lm-sensors] [PATCH] hwmon, fam15h_power: Remove needless pci dev id
@ 2014-07-10 22:16 ` Aravind Gopalakrishnan
  0 siblings, 0 replies; 4+ messages in thread
From: Aravind Gopalakrishnan @ 2014-07-10 22:16 UTC (permalink / raw)
  To: herrmann.der.user, jdelvare, linux, lm-sensors, linux-kernel
  Cc: Aravind Gopalakrishnan

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 <Aravind.Gopalakrishnan@amd.com>
---
 drivers/hwmon/fam15h_power.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 6040121..d442000 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -31,9 +31,6 @@ MODULE_DESCRIPTION("AMD Family 15h CPU processor power monitor");
 MODULE_AUTHOR("Andreas Herrmann <herrmann.der.user@googlemail.com>");
 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
 
-- 
1.8.1.2


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] hwmon, fam15h_power: Remove needless pci dev id
  2014-07-10 22:16 ` [lm-sensors] " Aravind Gopalakrishnan
@ 2014-07-11  4:22   ` Guenter Roeck
  -1 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2014-07-11  4:22 UTC (permalink / raw)
  To: Aravind Gopalakrishnan, herrmann.der.user, jdelvare, lm-sensors,
	linux-kernel

On 07/10/2014 03:16 PM, Aravind Gopalakrishnan wrote:
> 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 <Aravind.Gopalakrishnan@amd.com>

Applied to -next.

Thanks,
Guenter



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon, fam15h_power: Remove needless pci dev id
@ 2014-07-11  4:22   ` Guenter Roeck
  0 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2014-07-11  4:22 UTC (permalink / raw)
  To: Aravind Gopalakrishnan, herrmann.der.user, jdelvare, lm-sensors,
	linux-kernel

On 07/10/2014 03:16 PM, Aravind Gopalakrishnan wrote:
> 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 <Aravind.Gopalakrishnan@amd.com>

Applied to -next.

Thanks,
Guenter



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-11  4:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-10 22:16 [PATCH] hwmon, fam15h_power: Remove needless pci dev id Aravind Gopalakrishnan
2014-07-10 22:16 ` [lm-sensors] " Aravind Gopalakrishnan
2014-07-11  4:22 ` Guenter Roeck
2014-07-11  4:22   ` [lm-sensors] " Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.