X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fstaging%2Fsm7xx%2Fsmtcfb.c;h=0bc113c44d393423665b80f888c78660d67e8e6b;hb=16c1020362083b320868c0deef492249089c3cd3;hp=f4b163f7338a41d9fdba29912bdacead56626f0f;hpb=5957e33d6aec266659a71cfabcf7cf2c593ad0d2;p=mv-sheeva.git diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c index f4b163f7338..0bc113c44d3 100644 --- a/drivers/staging/sm7xx/smtcfb.c +++ b/drivers/staging/sm7xx/smtcfb.c @@ -1071,7 +1071,7 @@ static int __maybe_unused smtcfb_resume(struct pci_dev *pdev) /* when resuming, restore pci data and fb cursor */ if (pdev->dev.power.power_state.event != PM_EVENT_FREEZE) { retv = pci_set_power_state(pdev, PCI_D0); - retv = pci_restore_state(pdev); + pci_restore_state(pdev); if (pci_enable_device(pdev)) return -1; pci_set_master(pdev);