[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1372337935-28772-1-git-send-email-wangyijing@huawei.com>
Date: Thu, 27 Jun 2013 20:58:55 +0800
From: Yijing Wang <wangyijing@...wei.com>
To: Michael Buesch <m@...s.ch>, Grant Likely <grant.likely@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
Jiri Kosina <trivial@...nel.org>
CC: <linux-kernel@...r.kernel.org>, Hanjun Guo <guohanjun@...wei.com>,
Yijing Wang <wangyijing@...wei.com>
Subject: [PATCH 5/6] 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@...wei.com>
Cc: Michael Buesch <m@...s.ch>
Cc: Grant Likely <grant.likely@...aro.org>
Cc: Linus Walleij <linus.walleij@...aro.org>
Cc: Jiri Kosina <trivial@...nel.org>
Cc: linux-kernel@...r.kernel.org
---
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 7d9d7cb..8369e71 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;
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists