gpio-pch: Delete invalid "restore" code in suspend()
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Thu, 21 Jul 2011 00:19:54 +0000 (09:19 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 5 Oct 2011 17:59:17 +0000 (11:59 -0600)
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pch.c

index 36919e77c495cb97c3ae3a5896a6d7dabdce38df..ca9c7b051e07b9f3482f067f10444d5d75d96046 100644 (file)
@@ -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) {