aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tipar.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch)
treeb851d4c1fdbd396379279e4475f7f778a667a208 /drivers/char/tipar.c
parent7c69ef79741910883d5543caafa06aca3ebadbd1 (diff)
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/tipar.c')
-rw-r--r--drivers/char/tipar.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/tipar.c b/drivers/char/tipar.c
index 0dc83a5bd4c1..48476f8fcda7 100644
--- a/drivers/char/tipar.c
+++ b/drivers/char/tipar.c
@@ -515,7 +515,6 @@ out_class:
515 class_destroy(tipar_class); 515 class_destroy(tipar_class);
516 516
517out_chrdev: 517out_chrdev:
518 devfs_remove("ticables/par");
519 unregister_chrdev(TIPAR_MAJOR, "tipar"); 518 unregister_chrdev(TIPAR_MAJOR, "tipar");
520out: 519out:
521 return err; 520 return err;
@@ -536,10 +535,8 @@ tipar_cleanup_module(void)
536 continue; 535 continue;
537 parport_unregister_device(table[i].dev); 536 parport_unregister_device(table[i].dev);
538 class_device_destroy(tipar_class, MKDEV(TIPAR_MAJOR, i)); 537 class_device_destroy(tipar_class, MKDEV(TIPAR_MAJOR, i));
539 devfs_remove("ticables/par/%d", i);
540 } 538 }
541 class_destroy(tipar_class); 539 class_destroy(tipar_class);
542 devfs_remove("ticables/par");
543 540
544 pr_info("tipar: module unloaded\n"); 541 pr_info("tipar: module unloaded\n");
545} 542}