diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2013-12-18 17:06:54 +0530 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-01-23 15:19:18 +0100 |
commit | 6691a19966f04dd81e60505f9630c1a7cf148507 (patch) | |
tree | fe0d935b0195e517080ef2abc0c9b889daf8e6b1 /drivers/pwm | |
parent | 82569e5b2236bc139f89dfd18c6088985a52c8ee (diff) | |
download | op-kernel-dev-6691a19966f04dd81e60505f9630c1a7cf148507.zip op-kernel-dev-6691a19966f04dd81e60505f9630c1a7cf148507.tar.gz |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |