diff options
author | Yijing Wang <[email protected]> | 2013-06-27 20:58:55 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2013-06-30 01:37:07 +0200 |
commit | 038f0babc98a16211959010d7cd48b4a14f108cc (patch) | |
tree | c02c9bd2c688e7483a9ef4fa12708d1e6a2b2802 | |
parent | 3bae4811fb6d0b2849e3129abaf9c116f956c7a3 (diff) |
Gpio/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 <[email protected]>
Cc: Michael Buesch <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r-- | drivers/gpio/gpio-bt8xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c index 7d9d7cb35f28..8369e71ebe4f 100644 --- a/drivers/gpio/gpio-bt8xx.c +++ b/drivers/gpio/gpio-bt8xx.c @@ -286,7 +286,7 @@ static int bt8xxgpio_resume(struct pci_dev *pdev) unsigned long flags; int err; - pci_set_power_state(pdev, 0); + pci_set_power_state(pdev, PCI_D0); err = pci_enable_device(pdev); if (err) return err; |