* [PATCH 5/6] Gpio/trivial: replace numeric with standard PM state macros
@ 2013-06-27 12:58 Yijing Wang
2013-06-29 23:37 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Yijing Wang @ 2013-06-27 12:58 UTC (permalink / raw)
To: Michael Buesch, Grant Likely, Linus Walleij, Jiri Kosina
Cc: linux-kernel, Hanjun Guo, Yijing Wang
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
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 5/6] Gpio/trivial: replace numeric with standard PM state macros
2013-06-27 12:58 [PATCH 5/6] Gpio/trivial: replace numeric with standard PM state macros Yijing Wang
@ 2013-06-29 23:37 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2013-06-29 23:37 UTC (permalink / raw)
To: Yijing Wang
Cc: Michael Buesch, Grant Likely, Jiri Kosina, linux-kernel, Hanjun Guo
On Thu, Jun 27, 2013 at 2:58 PM, Yijing Wang <wangyijing@huawei.com> wrote:
> 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
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-29 23:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 12:58 [PATCH 5/6] Gpio/trivial: replace numeric with standard PM state macros Yijing Wang
2013-06-29 23:37 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®