Skip to content

Commit

Permalink
pwm: tiecap: Remove duplicate put_sync call
Browse files Browse the repository at this point in the history
Remove duplicate 'pm_runtime_put_sync' in the remove path.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
  • Loading branch information
Sourav Poddar authored and thierryreding committed Jan 23, 2014
1 parent 82569e5 commit 6691a19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pwm/pwm-tiecap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6691a19

Please sign in to comment.