ssb/trivial: replace numeric with standard PM state macros

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
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yijing Wang 2013-06-27 21:00:11 +08:00 committed by David S. Miller
parent 1ca01512a2
commit d36a21da41
1 changed files with 1 additions and 1 deletions

View File

@ -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;