From 45d198c4cf3a9a751b734eb32426b6de4631ef2e Mon Sep 17 00:00:00 2001 From: Tomoya MORINAGA Date: Fri, 5 Aug 2011 13:04:20 +0900 Subject: [PATCH] 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 Signed-off-by: Grant Likely --- drivers/gpio/gpio-ml-ioh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c index a9016f56ed7e..655e55c55e02 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) { -- 2.39.5