aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>2011-08-05 00:04:20 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-10-05 13:57:04 -0400
commit45d198c4cf3a9a751b734eb32426b6de4631ef2e (patch)
tree15ab708e6b7440ac74497e18a2acc0b3082f6851 /drivers/gpio
parent0e44b6eccfcb0b2da65b0e9eddd5d8b4eac5d8df (diff)
gpio-ml-ioh: Delete unnecessary code
This register restore processing is unnecessary in suspend processing. (The restore processing is already in resume processing) Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-ml-ioh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c
index a9016f56ed7e..655e55c55e02 100644
--- a/drivers/gpio/gpio-ml-ioh.c
+++ b/drivers/gpio/gpio-ml-ioh.c
@@ -284,7 +284,6 @@ static int ioh_gpio_suspend(struct pci_dev *pdev, pm_message_t state)
284 struct ioh_gpio *chip = pci_get_drvdata(pdev); 284 struct ioh_gpio *chip = pci_get_drvdata(pdev);
285 285
286 ioh_gpio_save_reg_conf(chip); 286 ioh_gpio_save_reg_conf(chip);
287 ioh_gpio_restore_reg_conf(chip);
288 287
289 ret = pci_save_state(pdev); 288 ret = pci_save_state(pdev);
290 if (ret) { 289 if (ret) {