diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 928b4d8c8963e75bdb133f562b03b07f9aa4844a (patch) | |
tree | 18de7e85fe403f681a954ed04254b2d9085e7fe4 /drivers/block/cpqarray.c | |
parent | 36a5aeb8787fbf92510ed20d806e229c55726f93 (diff) |
proc: remove proc_root_driver
Use creation by full path: "driver/foo".
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/cpqarray.c')
-rw-r--r-- | drivers/block/cpqarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index 69199185ff4b..09c14341e6e3 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c | |||
@@ -214,7 +214,7 @@ static struct proc_dir_entry *proc_array; | |||
214 | static void __init ida_procinit(int i) | 214 | static void __init ida_procinit(int i) |
215 | { | 215 | { |
216 | if (proc_array == NULL) { | 216 | if (proc_array == NULL) { |
217 | proc_array = proc_mkdir("cpqarray", proc_root_driver); | 217 | proc_array = proc_mkdir("driver/cpqarray", NULL); |
218 | if (!proc_array) return; | 218 | if (!proc_array) return; |
219 | } | 219 | } |
220 | 220 | ||
@@ -1796,7 +1796,7 @@ static void __exit cpqarray_exit(void) | |||
1796 | } | 1796 | } |
1797 | } | 1797 | } |
1798 | 1798 | ||
1799 | remove_proc_entry("cpqarray", proc_root_driver); | 1799 | remove_proc_entry("driver/cpqarray", NULL); |
1800 | } | 1800 | } |
1801 | 1801 | ||
1802 | module_init(cpqarray_init) | 1802 | module_init(cpqarray_init) |