diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:07 -0400 |
commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/char/stallion.c | |
parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (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/stallion.c')
-rw-r--r-- | drivers/char/stallion.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index a1a68f90d803..7840eb16f17a 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c | |||
@@ -773,11 +773,8 @@ static void __exit stallion_module_exit(void) | |||
773 | restore_flags(flags); | 773 | restore_flags(flags); |
774 | return; | 774 | return; |
775 | } | 775 | } |
776 | for (i = 0; i < 4; i++) { | 776 | for (i = 0; i < 4; i++) |
777 | devfs_remove("staliomem/%d", i); | ||
778 | class_device_destroy(stallion_class, MKDEV(STL_SIOMEMMAJOR, i)); | 777 | class_device_destroy(stallion_class, MKDEV(STL_SIOMEMMAJOR, i)); |
779 | } | ||
780 | devfs_remove("staliomem"); | ||
781 | if ((i = unregister_chrdev(STL_SIOMEMMAJOR, "staliomem"))) | 778 | if ((i = unregister_chrdev(STL_SIOMEMMAJOR, "staliomem"))) |
782 | printk("STALLION: failed to un-register serial memory device, " | 779 | printk("STALLION: failed to un-register serial memory device, " |
783 | "errno=%d\n", -i); | 780 | "errno=%d\n", -i); |