aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/pmb.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-09-24 04:04:26 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-09-24 04:04:26 +0900
commit3f224f4e057ce67713f3e7a8890f2fbe12d047a5 (patch)
treebcaa45b4a0095c4c502ffac056e26481a7b49442 /arch/sh/mm/pmb.c
parentsh: change to new flag variable (diff)
downloadlinux-dev-3f224f4e057ce67713f3e7a8890f2fbe12d047a5.tar.xz
linux-dev-3f224f4e057ce67713f3e7a8890f2fbe12d047a5.zip
sh: provide generic arch_debugfs_dir.
While sh previously had its own debugfs root, there now exists a common arch_debugfs_dir prototype, so we switch everything over to that. Presumably once more architectures start making use of this we'll be able to just kill off the stub kdebugfs wrapper. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/pmb.c')
-rw-r--r--arch/sh/mm/pmb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c
index 6379091a1647..233c011c4d22 100644
--- a/arch/sh/mm/pmb.c
+++ b/arch/sh/mm/pmb.c
@@ -866,11 +866,9 @@ static int __init pmb_debugfs_init(void)
struct dentry *dentry;
dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO,
- sh_debugfs_root, NULL, &pmb_debugfs_fops);
+ arch_debugfs_dir, NULL, &pmb_debugfs_fops);
if (!dentry)
return -ENOMEM;
- if (IS_ERR(dentry))
- return PTR_ERR(dentry);
return 0;
}