aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/lp.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:06 -0400
commit95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch)
tree899cd99bdc928ade94ddc7b003b0de7d275cac48 /drivers/char/lp.c
parent0e6c62da7cd929b0389fc4a7e41464bb738647dc (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/lp.c')
-rw-r--r--drivers/char/lp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c
index e57260525293..f07a9e361f39 100644
--- a/drivers/char/lp.c
+++ b/drivers/char/lp.c
@@ -907,7 +907,6 @@ static int __init lp_init (void)
907 return -EIO; 907 return -EIO;
908 } 908 }
909 909
910 devfs_mk_dir("printers");
911 lp_class = class_create(THIS_MODULE, "printer"); 910 lp_class = class_create(THIS_MODULE, "printer");
912 if (IS_ERR(lp_class)) { 911 if (IS_ERR(lp_class)) {
913 err = PTR_ERR(lp_class); 912 err = PTR_ERR(lp_class);