summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-tiecap.c
diff options
context:
space:
mode:
authorSourav Poddar <sourav.poddar@ti.com>2013-12-18 15:36:54 +0400
committerThierry Reding <thierry.reding@gmail.com>2014-01-23 18:19:18 +0400
commit6691a19966f04dd81e60505f9630c1a7cf148507 (patch)
treefe0d935b0195e517080ef2abc0c9b889daf8e6b1 /drivers/pwm/pwm-tiecap.c
parent82569e5b2236bc139f89dfd18c6088985a52c8ee (diff)
downloadlinux-6691a19966f04dd81e60505f9630c1a7cf148507.tar.xz
pwm: tiecap: Remove duplicate put_sync call
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>
Diffstat (limited to 'drivers/pwm/pwm-tiecap.c')
-rw-r--r--drivers/pwm/pwm-tiecap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c
index 4e5c3d13d4f8..032092c7a6ae 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);
}