PCI: make pci_restore_state return void
authorJon Mason <jon.mason@exar.com>
Tue, 30 Nov 2010 23:43:26 +0000 (17:43 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 23 Dec 2010 20:53:09 +0000 (12:53 -0800)
commit1d3c16a818e992c199844954d95c17fd7ce6cbba
tree6f54b4153b8f7e54bdb5a8abc3ceffa7b4eec0e2
parent2f671e2dbff6eb5ef4e2600adbec550c13b8fe72
PCI: make pci_restore_state return void

pci_restore_state only ever returns 0, thus there is no benefit in
having it return any value.  Also, a large majority of the callers do
not check the return code of pci_restore_state.  Make the
pci_restore_state a void return and avoid the overhead.

Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
13 files changed:
drivers/media/video/cafe_ccic.c
drivers/net/myri10ge/myri10ge.c
drivers/net/sfc/falcon.c
drivers/net/skge.c
drivers/net/sky2.c
drivers/net/wireless/rt2x00/rt2x00pci.c
drivers/pci/pci-driver.c
drivers/pci/pci.c
drivers/scsi/ipr.c
drivers/scsi/pmcraid.c
drivers/staging/sm7xx/smtcfb.c
include/linux/pci.h
sound/pci/cs5535audio/cs5535audio_pm.c