mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]>
This commit is contained in:
parent
3bae4811fb
commit
038f0babc9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue