projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50675d
)
pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
author
Axel Lin
<axel.lin@gmail.com>
Sun, 1 Jul 2012 04:58:00 +0000
(12:58 +0800)
committer
Thierry Reding
<thierry.reding@avionic-design.de>
Mon, 23 Jul 2012 11:24:01 +0000
(13:24 +0200)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-mxs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-mxs.c
b/drivers/pwm/pwm-mxs.c
index 269d7c2a87d66dd3d524c6c80bac00b01a8a6a1b..e5852646f082eadee2fef58feb44f814339847ee 100644
(file)
--- a/
drivers/pwm/pwm-mxs.c
+++ b/
drivers/pwm/pwm-mxs.c
@@
-178,9
+178,7
@@
static int __devexit mxs_pwm_remove(struct platform_device *pdev)
{
struct mxs_pwm_chip *mxs = platform_get_drvdata(pdev);
- pwmchip_remove(&mxs->chip);
-
- return 0;
+ return pwmchip_remove(&mxs->chip);
}
static struct of_device_id mxs_pwm_dt_ids[] = {