Commit 038f0bab authored by Yijing Wang's avatar Yijing Wang Committed by Linus Walleij

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: default avatarYijing Wang <>
Cc: Michael Buesch <>
Cc: Grant Likely <>
Cc: Linus Walleij <>
Cc: Jiri Kosina <>
Signed-off-by: default avatarLinus Walleij <>
parent 3bae4811
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment