summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ml-ioh.c
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>2011-08-05 13:04:20 +0900
committerGrant Likely <grant.likely@secretlab.ca>2011-10-05 11:57:04 -0600
commit45d198c4cf3a9a751b734eb32426b6de4631ef2e (patch)
tree15ab708e6b7440ac74497e18a2acc0b3082f6851 /drivers/gpio/gpio-ml-ioh.c
parent0e44b6eccfcb0b2da65b0e9eddd5d8b4eac5d8df (diff)
downloadop-kernel-dev-45d198c4cf3a9a751b734eb32426b6de4631ef2e.zip
op-kernel-dev-45d198c4cf3a9a751b734eb32426b6de4631ef2e.tar.gz
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/gpio-ml-ioh.c')
-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 a9016f5..655e55c 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)
struct ioh_gpio *chip = pci_get_drvdata(pdev);
ioh_gpio_save_reg_conf(chip);
- ioh_gpio_restore_reg_conf(chip);
ret = pci_save_state(pdev);
if (ret) {
OpenPOWER on IntegriCloud