summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/isapnp/proc.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 10:01:41 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:18 +0200
commit9c37066d888bf6e1b96ad12304971b3ddeabbad0 (patch)
tree87f39924be4d36b25918cf7a90eb0db7743cba99 /drivers/pnp/isapnp/proc.c
parentproc: drop several "PDE valid/invalid" checks (diff)
downloadlinux-9c37066d888bf6e1b96ad12304971b3ddeabbad0.tar.xz
linux-9c37066d888bf6e1b96ad12304971b3ddeabbad0.zip
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.c2
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)
{
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);
}