aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pwm/pwm-omap-dmtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-omap-dmtimer.c b/drivers/pwm/pwm-omap-dmtimer.c
index c453b3360605..826634ec0d5c 100644
--- a/drivers/pwm/pwm-omap-dmtimer.c
+++ b/drivers/pwm/pwm-omap-dmtimer.c
@@ -243,7 +243,7 @@ static int pwm_omap_dmtimer_probe(struct platform_device *pdev)
243 243
244 omap = devm_kzalloc(&pdev->dev, sizeof(*omap), GFP_KERNEL); 244 omap = devm_kzalloc(&pdev->dev, sizeof(*omap), GFP_KERNEL);
245 if (!omap) { 245 if (!omap) {
246 omap->pdata->free(dm_timer); 246 pdata->free(dm_timer);
247 return -ENOMEM; 247 return -ENOMEM;
248 } 248 }
249 249