diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-06-27 20:58:55 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-30 01:37:07 +0200 |
commit | 038f0babc98a16211959010d7cd48b4a14f108cc (patch) | |
tree | c02c9bd2c688e7483a9ef4fa12708d1e6a2b2802 /drivers/gpio/gpio-bt8xx.c | |
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 <wangyijing@huawei.com>
Cc: Michael Buesch <m@bues.ch>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-bt8xx.c')
-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; |