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

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
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment