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/block/paride | |
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/block/paride')
-rw-r--r-- | drivers/block/paride/pg.c | 1 | ||||
-rw-r--r-- | drivers/block/paride/pt.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index 79b868254032..9f72bdd2e206 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c | |||
@@ -674,7 +674,6 @@ static int __init pg_init(void) | |||
674 | err = PTR_ERR(pg_class); | 674 | err = PTR_ERR(pg_class); |
675 | goto out_chrdev; | 675 | goto out_chrdev; |
676 | } | 676 | } |
677 | devfs_mk_dir("pg"); | ||
678 | for (unit = 0; unit < PG_UNITS; unit++) { | 677 | for (unit = 0; unit < PG_UNITS; unit++) { |
679 | struct pg *dev = &devices[unit]; | 678 | struct pg *dev = &devices[unit]; |
680 | if (dev->present) { | 679 | if (dev->present) { |
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c index d2013d362403..7adadd5b29fc 100644 --- a/drivers/block/paride/pt.c +++ b/drivers/block/paride/pt.c | |||
@@ -971,7 +971,6 @@ static int __init pt_init(void) | |||
971 | goto out_chrdev; | 971 | goto out_chrdev; |
972 | } | 972 | } |
973 | 973 | ||
974 | devfs_mk_dir("pt"); | ||
975 | for (unit = 0; unit < PT_UNITS; unit++) | 974 | for (unit = 0; unit < PT_UNITS; unit++) |
976 | if (pt[unit].present) { | 975 | if (pt[unit].present) { |
977 | class_device_create(pt_class, NULL, MKDEV(major, unit), | 976 | class_device_create(pt_class, NULL, MKDEV(major, unit), |