mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5e971dce0b
commit
9c37066d88
10 changed files with 14 additions and 17 deletions
|
|
@ -171,7 +171,7 @@ void __init nubus_proc_init(void)
|
|||
{
|
||||
if (!MACH_IS_MAC)
|
||||
return;
|
||||
proc_bus_nubus_dir = proc_mkdir("nubus", proc_bus);
|
||||
proc_bus_nubus_dir = proc_mkdir("bus/nubus", NULL);
|
||||
create_proc_info_entry("devices", 0, proc_bus_nubus_dir,
|
||||
get_nubus_dev_info);
|
||||
proc_bus_nubus_add_devices();
|
||||
|
|
|
|||
Loading…
Reference in a new issue