Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344698
b: refs/heads/master
c: 057eeae
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 13, 2012
1 parent 4af9ffe commit e76f6ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8105c94bc4f94478c67afb7593724e4d684dd9c0
refs/heads/master: 057eeaee6803dafbbf2f79345643530e731ba7cb
4 changes: 2 additions & 2 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,6 @@ static void omapfb_free_resources(struct omapfb2_device *fbdev)
}

dev_set_drvdata(fbdev->dev, NULL);
kfree(fbdev);
}

static int omapfb_create_framebuffers(struct omapfb2_device *fbdev)
Expand Down Expand Up @@ -2413,7 +2412,8 @@ static int __init omapfb_probe(struct platform_device *pdev)
goto err0;
}

fbdev = kzalloc(sizeof(struct omapfb2_device), GFP_KERNEL);
fbdev = devm_kzalloc(&pdev->dev, sizeof(struct omapfb2_device),
GFP_KERNEL);
if (fbdev == NULL) {
r = -ENOMEM;
goto err0;
Expand Down

0 comments on commit e76f6ee

Please sign in to comment.