Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103769
b: refs/heads/master
c: 36a0a3c
h: refs/heads/master
i:
  103767: 3a442c6
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jul 20, 2008
1 parent c781b0f commit 6a3de54
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 5a334fa9240411121f5dda9605fc7fd98429e8c5
refs/heads/master: 36a0a3cd45b49ceff78ac28efef1cbeec413d8c2
13 changes: 1 addition & 12 deletions trunk/arch/mips/sgi-ip32/ip32-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,7 @@ device_initcall(sgio2audio_devinit);

static __init int sgio2btns_devinit(void)
{
struct platform_device *pd;
int ret;

pd = platform_device_alloc("sgio2btns", -1);
if (!pd)
return -ENOMEM;

ret = platform_device_add(pd);
if (ret)
platform_device_put(pd);

return ret;
return IS_ERR(platform_device_register_simple("sgibtns", -1, NULL, 0));
}

device_initcall(sgio2btns_devinit);
Expand Down

0 comments on commit 6a3de54

Please sign in to comment.