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

Commit 6691a199 authored by Sourav Poddar's avatar Sourav Poddar Committed by Thierry Reding
Browse files

pwm: tiecap: Remove duplicate put_sync call



Remove duplicate 'pm_runtime_put_sync' in the remove path.

Signed-off-by: default avatarSourav Poddar <sourav.poddar@ti.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 82569e5b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -279,7 +279,6 @@ static int ecap_pwm_remove(struct platform_device *pdev)
	pwmss_submodule_state_change(pdev->dev.parent, PWMSS_ECAPCLK_STOP_REQ);
	pm_runtime_put_sync(&pdev->dev);

	pm_runtime_put_sync(&pdev->dev);
	pm_runtime_disable(&pdev->dev);
	return pwmchip_remove(&pc->chip);
}