aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo.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/net/wireless/airo.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/net/wireless/airo.c')
-rw-r--r--drivers/net/wireless/airo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index 932d6b1c9d0b..6c395fcece58 100644
--- a/drivers/net/wireless/airo.c
+++ b/drivers/net/wireless/airo.c
@@ -5625,9 +5625,9 @@ static int __init airo_init_module( void )
5625 int have_isa_dev = 0; 5625 int have_isa_dev = 0;
5626#endif 5626#endif
5627 5627
5628 airo_entry = create_proc_entry("aironet", 5628 airo_entry = create_proc_entry("driver/aironet",
5629 S_IFDIR | airo_perm, 5629 S_IFDIR | airo_perm,
5630 proc_root_driver); 5630 NULL);
5631 5631
5632 if (airo_entry) { 5632 if (airo_entry) {
5633 airo_entry->uid = proc_uid; 5633 airo_entry->uid = proc_uid;
@@ -5651,7 +5651,7 @@ static int __init airo_init_module( void )
5651 airo_print_info("", "Finished probing for PCI adapters"); 5651 airo_print_info("", "Finished probing for PCI adapters");
5652 5652
5653 if (i) { 5653 if (i) {
5654 remove_proc_entry("aironet", proc_root_driver); 5654 remove_proc_entry("driver/aironet", NULL);
5655 return i; 5655 return i;
5656 } 5656 }
5657#endif 5657#endif
@@ -5673,7 +5673,7 @@ static void __exit airo_cleanup_module( void )
5673#ifdef CONFIG_PCI 5673#ifdef CONFIG_PCI
5674 pci_unregister_driver(&airo_driver); 5674 pci_unregister_driver(&airo_driver);
5675#endif 5675#endif
5676 remove_proc_entry("aironet", proc_root_driver); 5676 remove_proc_entry("driver/aironet", NULL);
5677} 5677}
5678 5678
5679/* 5679/*