X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fparisc%2Fled.c;fp=drivers%2Fparisc%2Fled.c;h=9581d3619450d609ca69e305d4fcad7148f9ab93;hb=1ab2eaa2c16c2467bbd94514ec6c1fe5129546c7;hp=75ff6d78f002fb605a3094d2063d00b53fd00e51;hpb=47e669ce10901dc92960096653d6b22990b5188f;p=pandora-kernel.git diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index 75ff6d78f002..9581d3619450 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c @@ -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) { @@ -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;