summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>2011-07-21 09:19:54 +0900
committerGrant Likely <grant.likely@secretlab.ca>2011-10-05 11:59:17 -0600
commit829e8256f139a9665f861d7ba880ed90abd75b65 (patch)
tree7827291628b12dde2be0e65baf928fedb053c885
parentb490fa0bf86edbc06562024cbace5e84f0e2cf0e (diff)
downloadlinux-3.10-829e8256f139a9665f861d7ba880ed90abd75b65.tar.gz
linux-3.10-829e8256f139a9665f861d7ba880ed90abd75b65.tar.bz2
linux-3.10-829e8256f139a9665f861d7ba880ed90abd75b65.zip
gpio-pch: Delete invalid "restore" code in suspend()
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r--drivers/gpio/gpio-pch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index 36919e77c49..ca9c7b051e0 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -241,7 +241,6 @@ static int pch_gpio_suspend(struct pci_dev *pdev, pm_message_t state)
struct pch_gpio *chip = pci_get_drvdata(pdev);
pch_gpio_save_reg_conf(chip);
- pch_gpio_restore_reg_conf(chip);
ret = pci_save_state(pdev);
if (ret) {