Message ID | 1387366615-23182-3-git-send-email-sourav.poddar@ti.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Dec 18, 2013 at 05:06:54PM +0530, Sourav Poddar wrote: > Remove duplicate 'pm_runtime_put_sync' in the remove path. > > Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> > --- > drivers/pwm/pwm-tiecap.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) Applied, thanks. Thierry
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c index 4e5c3d1..032092c 100644 --- a/drivers/pwm/pwm-tiecap.c +++ b/drivers/pwm/pwm-tiecap.c @@ -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); }
Remove duplicate 'pm_runtime_put_sync' in the remove path. Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> --- drivers/pwm/pwm-tiecap.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)