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:06 -0400 |
commit | 95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch) | |
tree | 899cd99bdc928ade94ddc7b003b0de7d275cac48 /drivers/char/ppdev.c | |
parent | 0e6c62da7cd929b0389fc4a7e41464bb738647dc (diff) |
[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
Removes the devfs_mk_dir() function and all callers of it.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/ppdev.c')
-rw-r--r-- | drivers/char/ppdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index bee6c47b45bd..d437a4c9e634 100644 --- a/drivers/char/ppdev.c +++ b/drivers/char/ppdev.c | |||
@@ -782,7 +782,6 @@ static int __init ppdev_init (void) | |||
782 | err = PTR_ERR(ppdev_class); | 782 | err = PTR_ERR(ppdev_class); |
783 | goto out_chrdev; | 783 | goto out_chrdev; |
784 | } | 784 | } |
785 | devfs_mk_dir("parports"); | ||
786 | for (i = 0; i < PARPORT_MAX; i++) { | 785 | for (i = 0; i < PARPORT_MAX; i++) { |
787 | devfs_mk_cdev(MKDEV(PP_MAJOR, i), | 786 | devfs_mk_cdev(MKDEV(PP_MAJOR, i), |
788 | S_IFCHR | S_IRUGO | S_IWUGO, "parports/%d", i); | 787 | S_IFCHR | S_IRUGO | S_IWUGO, "parports/%d", i); |