Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45d198c4 authored by Tomoya MORINAGA's avatar Tomoya MORINAGA Committed by Grant Likely
Browse files

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: default avatarTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 0e44b6ec
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {