Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258799
b: refs/heads/master
c: 07985bc
h: refs/heads/master
i:
  258797: 38086fc
  258795: 2473f81
  258791: 4a6ae00
  258783: 73cc76b
v: v3
  • Loading branch information
Banajit Goswami authored and Kukjin Kim committed Jul 20, 2011
1 parent 061779c commit 7cda05b
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: 96d78686d4c4f2922a23de2e16d145f7355e0605
refs/heads/master: 07985bc78909e0dc802d97c24260a69cd931c7af
14 changes: 2 additions & 12 deletions trunk/arch/arm/plat-samsung/dev-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ struct platform_device s3c_device_ts = {

void __init s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *pd)
{
struct s3c2410_ts_mach_info *npd;

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

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

s3c_device_ts.dev.platform_data = npd;
s3c_set_platdata(pd, sizeof(struct s3c2410_ts_mach_info),
&s3c_device_ts);
}

0 comments on commit 7cda05b

Please sign in to comment.