aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/pktcdvd.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 04:01:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:18 -0400
commit928b4d8c8963e75bdb133f562b03b07f9aa4844a (patch)
tree18de7e85fe403f681a954ed04254b2d9085e7fe4 /drivers/block/pktcdvd.c
parent36a5aeb8787fbf92510ed20d806e229c55726f93 (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/pktcdvd.c')
-rw-r--r--drivers/block/pktcdvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index 18feb1c7c33b..0431e5977bcb 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -3101,7 +3101,7 @@ static int __init pkt_init(void)
3101 goto out_misc; 3101 goto out_misc;
3102 } 3102 }
3103 3103
3104 pkt_proc = proc_mkdir(DRIVER_NAME, proc_root_driver); 3104 pkt_proc = proc_mkdir("driver/"DRIVER_NAME, NULL);
3105 3105
3106 return 0; 3106 return 0;
3107 3107
@@ -3117,7 +3117,7 @@ out2:
3117 3117
3118static void __exit pkt_exit(void) 3118static void __exit pkt_exit(void)
3119{ 3119{
3120 remove_proc_entry(DRIVER_NAME, proc_root_driver); 3120 remove_proc_entry("driver/"DRIVER_NAME, NULL);
3121 misc_deregister(&pkt_misc); 3121 misc_deregister(&pkt_misc);
3122 3122
3123 pkt_debugfs_cleanup(); 3123 pkt_debugfs_cleanup();