Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258801
b: refs/heads/master
c: 2eac3ad
h: refs/heads/master
i:
  258799: 7cda05b
v: v3
  • Loading branch information
Banajit Goswami authored and Kukjin Kim committed Jul 20, 2011
1 parent a3b6023 commit 8450588
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: 6b5738c2d973cdcbc93a2fcd74600e5934daabad
refs/heads/master: 2eac3ad87a85f70990fe6e32f7d36dd629ae824f
14 changes: 2 additions & 12 deletions trunk/arch/arm/plat-samsung/dev-hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@ struct platform_device s3c_device_hwmon = {

void __init s3c_hwmon_set_platdata(struct s3c_hwmon_pdata *pd)
{
struct s3c_hwmon_pdata *npd;

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

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

s3c_device_hwmon.dev.platform_data = npd;
s3c_set_platdata(pd, sizeof(struct s3c_hwmon_pdata),
&s3c_device_hwmon);
}

0 comments on commit 8450588

Please sign in to comment.