diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (patch) | |
tree | 87f39924be4d36b25918cf7a90eb0db7743cba99 /drivers/pnp/isapnp/proc.c | |
parent | 5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (diff) |
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>
Diffstat (limited to 'drivers/pnp/isapnp/proc.c')
-rw-r--r-- | drivers/pnp/isapnp/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/isapnp/proc.c b/drivers/pnp/isapnp/proc.c index 2b8266c3d40f..e1d1f2a10947 100644 --- a/drivers/pnp/isapnp/proc.c +++ b/drivers/pnp/isapnp/proc.c | |||
@@ -116,7 +116,7 @@ int __init isapnp_proc_init(void) | |||
116 | { | 116 | { |
117 | struct pnp_dev *dev; | 117 | struct pnp_dev *dev; |
118 | 118 | ||
119 | isapnp_proc_bus_dir = proc_mkdir("isapnp", proc_bus); | 119 | isapnp_proc_bus_dir = proc_mkdir("bus/isapnp", NULL); |
120 | protocol_for_each_dev(&isapnp_protocol, dev) { | 120 | protocol_for_each_dev(&isapnp_protocol, dev) { |
121 | isapnp_proc_attach_device(dev); | 121 | isapnp_proc_attach_device(dev); |
122 | } | 122 | } |