gpio-ml-ioh: Delete unnecessary code
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Fri, 5 Aug 2011 04:04:20 +0000 (13:04 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 5 Oct 2011 17:57:04 +0000 (11:57 -0600)
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>
drivers/gpio/gpio-ml-ioh.c

index a9016f56ed7e012f7f66fb08ce32e55a1301f4b7..655e55c55e026b591c7c0a34d44582365d62f13f 100644 (file)
@@ -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) {