summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pwm/pwm-pxa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index a2be966..bd5867a 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)
if (chip == NULL)
return -ENODEV;
- pwmchip_remove(&chip->chip);
- return 0;
+ return pwmchip_remove(&chip->chip);
}
static struct platform_driver pwm_driver = {
OpenPOWER on IntegriCloud