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
@@ -116,7 +116,7 @@ int __init isapnp_proc_init(void)
|
||||
{
|
||||
struct pnp_dev *dev;
|
||||
|
||||
isapnp_proc_bus_dir = proc_mkdir("isapnp", proc_bus);
|
||||
isapnp_proc_bus_dir = proc_mkdir("bus/isapnp", NULL);
|
||||
protocol_for_each_dev(&isapnp_protocol, dev) {
|
||||
isapnp_proc_attach_device(dev);
|
||||
}
|
||||
|
Reference in New Issue
Block a user