proc: remove proc_bus
Remove proc_bus export and variable itself. Using pathnames works fine and is slightly more understandable and greppable. 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>
This commit is contained in:
committed by
Linus Torvalds
parent
5e971dce0b
commit
9c37066d88
@@ -778,7 +778,7 @@ static struct proc_dir_entry *proc_bus_ecard_dir = NULL;
|
||||
|
||||
static void ecard_proc_init(void)
|
||||
{
|
||||
proc_bus_ecard_dir = proc_mkdir("ecard", proc_bus);
|
||||
proc_bus_ecard_dir = proc_mkdir("bus/ecard", NULL);
|
||||
create_proc_info_entry("devices", 0, proc_bus_ecard_dir,
|
||||
get_ecard_dev_info);
|
||||
}
|
||||
|
Reference in New Issue
Block a user