summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorSourav Poddar <sourav.poddar@ti.com>2013-12-18 12:36:54 +0100
committerThierry Reding <thierry.reding@gmail.com>2014-01-23 15:19:18 +0100
commit6691a19966f04dd81e60505f9630c1a7cf148507 (patch)
treefe0d935b0195e517080ef2abc0c9b889daf8e6b1 /drivers/pwm
parentpwm: tiehrpwm: use dev_err() instead of pr_err() (diff)
downloadlinux-6691a19966f04dd81e60505f9630c1a7cf148507.tar.xz
linux-6691a19966f04dd81e60505f9630c1a7cf148507.zip
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')
-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);
}