From: Tomoya MORINAGA Date: Fri, 5 Aug 2011 04:04:20 +0000 (+0900) Subject: gpio-ml-ioh: Delete unnecessary code X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=45d198c4cf3a9a751b734eb32426b6de4631ef2e;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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) {