Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333429
b: refs/heads/master
c: a654dda
h: refs/heads/master
i:
  333427: fffca9e
v: v3
  • Loading branch information
Damien Cassou authored and Florian Tobias Schandinat committed Aug 23, 2012
1 parent d7f2714 commit 0f3c5b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: b7e69add39481dafb509a07ab527784d415b567b
refs/heads/master: a654ddac0892eb8495d75cbd7f45646895cc5e5f
6 changes: 3 additions & 3 deletions trunk/drivers/video/msm/mddi_client_nt35399.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ static int mddi_nt35399_probe(struct platform_device *pdev)

int ret;

struct panel_info *panel = kzalloc(sizeof(struct panel_info),
GFP_KERNEL);
struct panel_info *panel = devm_kzalloc(&pdev->dev,
sizeof(struct panel_info),
GFP_KERNEL);

printk(KERN_DEBUG "%s: enter.\n", __func__);

Expand Down Expand Up @@ -233,7 +234,6 @@ static int mddi_nt35399_remove(struct platform_device *pdev)
struct panel_info *panel = platform_get_drvdata(pdev);

setup_vsync(panel, 0);
kfree(panel);
return 0;
}

Expand Down

0 comments on commit 0f3c5b5

Please sign in to comment.