netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/6] ssb/trivial: replace numeric with standard PM state macros
@ 2013-06-27 13:00 Yijing Wang
  2013-06-29  5:12 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Yijing Wang @ 2013-06-27 13:00 UTC (permalink / raw)
  To: Michael Buesch, Jiri Kosina; +Cc: linux-kernel, netdev, Hanjun Guo, Yijing Wang

Use standard PM state macros PCI_Dx instead of numeric 0/1/2..

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/ssb/pcihost_wrapper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ssb/pcihost_wrapper.c b/drivers/ssb/pcihost_wrapper.c
index 32ed1fa..69161bb 100644
--- a/drivers/ssb/pcihost_wrapper.c
+++ b/drivers/ssb/pcihost_wrapper.c
@@ -38,7 +38,7 @@ static int ssb_pcihost_resume(struct pci_dev *dev)
 	struct ssb_bus *ssb = pci_get_drvdata(dev);
 	int err;
 
-	pci_set_power_state(dev, 0);
+	pci_set_power_state(dev, PCI_D0);
 	err = pci_enable_device(dev);
 	if (err)
 		return err;
-- 
1.7.1

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

* Re: [PATCH 6/6] ssb/trivial: replace numeric with standard PM state macros
  2013-06-27 13:00 [PATCH 6/6] ssb/trivial: replace numeric with standard PM state macros Yijing Wang
@ 2013-06-29  5:12 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-06-29  5:12 UTC (permalink / raw)
  To: wangyijing; +Cc: m, trivial, linux-kernel, netdev, guohanjun

From: Yijing Wang <wangyijing@huawei.com>
Date: Thu, 27 Jun 2013 21:00:11 +0800

> Use standard PM state macros PCI_Dx instead of numeric 0/1/2..
> 
> Signed-off-by: Yijing Wang <wangyijing@huawei.com>

Applied.

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

end of thread, other threads:[~2013-06-29  5:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 13:00 [PATCH 6/6] ssb/trivial: replace numeric with standard PM state macros Yijing Wang
2013-06-29  5:12 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).