diff options
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
-rw-r--r-- | drivers/pwm/pwm-imx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 55a3a363d5be..1e90d2b78625 100644 --- a/drivers/pwm/pwm-imx.c +++ b/drivers/pwm/pwm-imx.c | |||
@@ -444,8 +444,6 @@ static int imx_pwm_remove(struct platform_device *pdev) | |||
444 | struct imx_chip *imx; | 444 | struct imx_chip *imx; |
445 | 445 | ||
446 | imx = platform_get_drvdata(pdev); | 446 | imx = platform_get_drvdata(pdev); |
447 | if (imx == NULL) | ||
448 | return -ENODEV; | ||
449 | 447 | ||
450 | imx_pwm_clk_disable_unprepare(&imx->chip); | 448 | imx_pwm_clk_disable_unprepare(&imx->chip); |
451 | 449 | ||