]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
parisc: led: remove proc_dir_entry::owner
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 20 Mar 2009 14:55:50 +0000 (14:55 +0000)
committerKyle McMartin <kyle@mcmartin.ca>
Thu, 2 Apr 2009 00:04:48 +0000 (00:04 +0000)
proc_dir_entry::owner was removed in 0702c1c1a4
(proc 2/2: remove struct proc_dir_entry::owner)

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
drivers/parisc/led.c

index 75ff6d78f002fb605a3094d2063d00b53fd00e51..9581d3619450d609ca69e305d4fcad7148f9ab93 100644 (file)
@@ -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;