diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pwm/pwm-pxa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index a2be966d550d..bd5867a1c700 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c | |||
@@ -190,8 +190,7 @@ static int __devexit pwm_remove(struct platform_device *pdev) | |||
190 | if (chip == NULL) | 190 | if (chip == NULL) |
191 | return -ENODEV; | 191 | return -ENODEV; |
192 | 192 | ||
193 | pwmchip_remove(&chip->chip); | 193 | return pwmchip_remove(&chip->chip); |
194 | return 0; | ||
195 | } | 194 | } |
196 | 195 | ||
197 | static struct platform_driver pwm_driver = { | 196 | static struct platform_driver pwm_driver = { |