projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82569e5
)
pwm: tiecap: Remove duplicate put_sync call
author
Sourav Poddar
<sourav.poddar@ti.com>
Wed, 18 Dec 2013 11:36:54 +0000
(17:06 +0530)
committer
Thierry Reding
<thierry.reding@gmail.com>
Thu, 23 Jan 2014 14:19:18 +0000
(15:19 +0100)
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>
drivers/pwm/pwm-tiecap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-tiecap.c
b/drivers/pwm/pwm-tiecap.c
index 4e5c3d13d4f8d31a0faa65ccd7146c0a28436e3c..032092c7a6ae3d23705ca79d6d1e175b2a524768 100644
(file)
--- 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);
}