Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258800
b: refs/heads/master
c: 6b5738c
h: refs/heads/master
v: v3
  • Loading branch information
Banajit Goswami authored and Kukjin Kim committed Jul 20, 2011
1 parent 7cda05b commit a3b6023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 07985bc78909e0dc802d97c24260a69cd931c7af
refs/heads/master: 6b5738c2d973cdcbc93a2fcd74600e5934daabad
14 changes: 2 additions & 12 deletions trunk/arch/arm/plat-samsung/dev-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@ struct platform_device s3c_device_fb = {

void __init s3c_fb_set_platdata(struct s3c_fb_platdata *pd)
{
struct s3c_fb_platdata *npd;

if (!pd) {
printk(KERN_ERR "%s: no platform data\n", __func__);
return;
}

npd = kmemdup(pd, sizeof(struct s3c_fb_platdata), GFP_KERNEL);
if (!npd)
printk(KERN_ERR "%s: no memory for platform data\n", __func__);

s3c_device_fb.dev.platform_data = npd;
s3c_set_platdata(pd, sizeof(struct s3c_fb_platdata),
&s3c_device_fb);
}

0 comments on commit a3b6023

Please sign in to comment.