Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: led: remove proc_dir_entry::owner

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>

authored by

Alexander Beregalov and committed by
Kyle McMartin
1ab2eaa2 47e669ce

-3
-3
drivers/parisc/led.c
··· 243 243 244 244 proc_pdc_root = proc_mkdir("pdc", 0); 245 245 if (!proc_pdc_root) return -1; 246 - proc_pdc_root->owner = THIS_MODULE; 247 246 ent = create_proc_entry("led", S_IFREG|S_IRUGO|S_IWUSR, proc_pdc_root); 248 247 if (!ent) return -1; 249 248 ent->data = (void *)LED_NOLCD; /* LED */ 250 249 ent->read_proc = led_proc_read; 251 250 ent->write_proc = led_proc_write; 252 - ent->owner = THIS_MODULE; 253 251 254 252 if (led_type == LED_HASLCD) 255 253 { ··· 256 258 ent->data = (void *)LED_HASLCD; /* LCD */ 257 259 ent->read_proc = led_proc_read; 258 260 ent->write_proc = led_proc_write; 259 - ent->owner = THIS_MODULE; 260 261 } 261 262 262 263 return 0;