]> git.baikalelectronics.ru Git - kernel.git/commit
PCI PM: Return error codes from pci_pm_resume()
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 9 Sep 2009 21:51:27 +0000 (23:51 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 14 Sep 2009 20:41:42 +0000 (13:41 -0700)
commitf838355825722f022752ec4cef79f11b2163e083
tree0702e1050d8b31a377e8aade76777c5f1d45869e
parent4f897195338ed2a2bab0535a53d028e67c7f9b10
PCI PM: Return error codes from pci_pm_resume()

Currently pci_pm_resume() always returns 0, which makes the error
variable defined in there a bit pointless.  Make pci_pm_resume()
return error codes obtained from drivers' callbacks.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c