diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 06:15:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 21:25:06 +0200 |
commit | 95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch) | |
tree | 899cd99bdc928ade94ddc7b003b0de7d275cac48 /drivers/char | |
parent | [PATCH] devfs: Remove devfs_*_tape() functions from the kernel tree (diff) | |
download | linux-95dc112a5770dc670a1b45a3d9ee346fdd2b2697.tar.xz linux-95dc112a5770dc670a1b45a3d9ee346fdd2b2697.zip |
[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')
-rw-r--r-- | drivers/char/ipmi/ipmi_devintf.c | 2 | ||||
-rw-r--r-- | drivers/char/istallion.c | 1 | ||||
-rw-r--r-- | drivers/char/lp.c | 1 | ||||
-rw-r--r-- | drivers/char/ppdev.c | 1 | ||||
-rw-r--r-- | drivers/char/pty.c | 1 | ||||
-rw-r--r-- | drivers/char/stallion.c | 1 | ||||
-rw-r--r-- | drivers/char/tipar.c | 3 |
7 files changed, 0 insertions, 10 deletions
diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c index e1c95374984c..55c57451ee1d 100644 --- a/drivers/char/ipmi/ipmi_devintf.c +++ b/drivers/char/ipmi/ipmi_devintf.c @@ -872,8 +872,6 @@ static __init int init_ipmi_devintf(void) ipmi_major = rv; } - devfs_mk_dir(DEVICE_NAME); - rv = ipmi_smi_watcher_register(&smi_watcher); if (rv) { unregister_chrdev(ipmi_major, DEVICE_NAME); diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index ef20c1fc9c4c..d5054ea47472 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c @@ -5213,7 +5213,6 @@ int __init stli_init(void) printk(KERN_ERR "STALLION: failed to register serial memory " "device\n"); - devfs_mk_dir("staliomem"); istallion_class = class_create(THIS_MODULE, "staliomem"); for (i = 0; i < 4; i++) { devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i), 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) return -EIO; } - devfs_mk_dir("printers"); lp_class = class_create(THIS_MODULE, "printer"); if (IS_ERR(lp_class)) { err = PTR_ERR(lp_class); 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) err = PTR_ERR(ppdev_class); goto out_chrdev; } - devfs_mk_dir("parports"); for (i = 0; i < PARPORT_MAX; i++) { devfs_mk_cdev(MKDEV(PP_MAJOR, i), S_IFCHR | S_IRUGO | S_IWUGO, "parports/%d", i); diff --git a/drivers/char/pty.c b/drivers/char/pty.c index 9b5a2c0e7008..64d3d1d0b31b 100644 --- a/drivers/char/pty.c +++ b/drivers/char/pty.c @@ -351,7 +351,6 @@ static int pty_unix98_ioctl(struct tty_struct *tty, struct file *file, static void __init unix98_pty_init(void) { - devfs_mk_dir("pts"); ptm_driver = alloc_tty_driver(NR_UNIX98_PTY_MAX); if (!ptm_driver) panic("Couldn't allocate Unix98 ptm driver"); diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index a9c5a7230f89..c090a63fbdea 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c @@ -3069,7 +3069,6 @@ static int __init stl_init(void) */ if (register_chrdev(STL_SIOMEMMAJOR, "staliomem", &stl_fsiomem)) printk("STALLION: failed to register serial board device\n"); - devfs_mk_dir("staliomem"); stallion_class = class_create(THIS_MODULE, "staliomem"); for (i = 0; i < 4; i++) { diff --git a/drivers/char/tipar.c b/drivers/char/tipar.c index 079db5a935a1..70cfe07ab999 100644 --- a/drivers/char/tipar.c +++ b/drivers/char/tipar.c @@ -507,9 +507,6 @@ tipar_init_module(void) goto out; } - /* Use devfs with tree: /dev/ticables/par/[0..2] */ - devfs_mk_dir("ticables/par"); - tipar_class = class_create(THIS_MODULE, "ticables"); if (IS_ERR(tipar_class)) { err = PTR_ERR(tipar_class); |