X-Git-Url: http://git.agner.ch/gitweb/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fparisc%2Fled.c;h=9a731c101d102ed11305372a6416b9b92ac3d76c;hb=574009c1a895aeeb85eaab29c235d75852b09eb8;hp=8dac2ba82bb95ee748d6b69d5f56e02f4b30e329;hpb=946b92437e550d6ed80213bf54a1f383e141aede;p=linux-drm-fsl-dcu.git diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index 8dac2ba82bb9..9a731c101d10 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c @@ -252,7 +252,6 @@ static int __init led_create_procfs(void) 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->nlink = 1; ent->data = (void *)LED_NOLCD; /* LED */ ent->read_proc = led_proc_read; ent->write_proc = led_proc_write; @@ -262,7 +261,6 @@ static int __init led_create_procfs(void) { ent = create_proc_entry("lcd", S_IFREG|S_IRUGO|S_IWUSR, proc_pdc_root); if (!ent) return -1; - ent->nlink = 1; ent->data = (void *)LED_HASLCD; /* LCD */ ent->read_proc = led_proc_read; ent->write_proc = led_proc_write;