Skip to content

Commit

Permalink
gpio-ml-ioh: Delete unnecessary code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomoya MORINAGA authored and Grant Likely committed Oct 5, 2011
1 parent 0e44b6e commit 45d198c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpio/gpio-ml-ioh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 45d198c

Please sign in to comment.