From 6691a19966f04dd81e60505f9630c1a7cf148507 Mon Sep 17 00:00:00 2001 From: Sourav Poddar Date: Wed, 18 Dec 2013 17:06:54 +0530 Subject: [PATCH] pwm: tiecap: Remove duplicate put_sync call Remove duplicate 'pm_runtime_put_sync' in the remove path. Signed-off-by: Sourav Poddar Signed-off-by: Thierry Reding --- drivers/pwm/pwm-tiecap.c | 1 - 1 file changed, 1 deletion(-) 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); } -- 2.30.2