Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140042
b: refs/heads/master
c: 1ab2eaa
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Beregalov authored and Kyle McMartin committed Apr 2, 2009
1 parent bb5469c commit ae62989
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 47e669ce10901dc92960096653d6b22990b5188f
refs/heads/master: 1ab2eaa2c16c2467bbd94514ec6c1fe5129546c7
3 changes: 0 additions & 3 deletions trunk/drivers/parisc/led.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,11 @@ static int __init led_create_procfs(void)

proc_pdc_root = proc_mkdir("pdc", 0);
if (!proc_pdc_root) return -1;
proc_pdc_root->owner = THIS_MODULE;
ent = create_proc_entry("led", S_IFREG|S_IRUGO|S_IWUSR, proc_pdc_root);
if (!ent) return -1;
ent->data = (void *)LED_NOLCD; /* LED */
ent->read_proc = led_proc_read;
ent->write_proc = led_proc_write;
ent->owner = THIS_MODULE;

if (led_type == LED_HASLCD)
{
Expand All @@ -258,7 +256,6 @@ static int __init led_create_procfs(void)
ent->data = (void *)LED_HASLCD; /* LCD */
ent->read_proc = led_proc_read;
ent->write_proc = led_proc_write;
ent->owner = THIS_MODULE;
}

return 0;
Expand Down

0 comments on commit ae62989

Please sign in to comment.