Skip to contentSkip to conversation

ssb/trivial: replace numeric with standard PM state macros

PATCH Applied Yijing Wang 2 participants 2 messages Jun 27, 2013 – Jun 29, 2013

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

PATCH 6/6 ssb/trivial: replace numeric with standard PM state macros

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

---
 drivers/ssb/pcihost_wrapper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/ssb/pcihost_wrapper.c +1 -1
index 32ed1fa..69161bb 100644
@@ -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;
Signature · 1 line
1.7.1