summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-pch.c
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 /drivers/gpio/gpio-pch.c
parentb490fa0bf86edbc06562024cbace5e84f0e2cf0e (diff)
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>
Diffstat (limited to 'drivers/gpio/gpio-pch.c')
-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 36919e77c495..ca9c7b051e07 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) {