From 829e8256f139a9665f861d7ba880ed90abd75b65 Mon Sep 17 00:00:00 2001 From: Tomoya MORINAGA Date: Thu, 21 Jul 2011 09:19:54 +0900 Subject: [PATCH] gpio-pch: Delete invalid "restore" code in suspend() Signed-off-by: Tomoya MORINAGA Signed-off-by: Grant Likely --- drivers/gpio/gpio-pch.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c index 36919e7..ca9c7b0 100644 --- a/drivers/gpio/gpio-pch.c +++ b/drivers/gpio/gpio-pch.c @@ -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) { -- 2.7.4