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 a9016f5..655e55c 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) {