aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pwm/pwm-pxa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index cfb683827d32..31752640dcf7 100644
--- a/drivers/pwm/pwm-pxa.c
+++ b/drivers/pwm/pwm-pxa.c
@@ -210,8 +210,6 @@ static int pwm_remove(struct platform_device *pdev)
struct pxa_pwm_chip *chip;
chip = platform_get_drvdata(pdev);
- if (chip == NULL)
- return -ENODEV;
return pwmchip_remove(&chip->chip);
}