summaryrefslogtreecommitdiff
path: root/arch/sh/mm/pmb.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-09-23 19:04:26 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2010-09-23 19:04:26 (GMT)
commit3f224f4e057ce67713f3e7a8890f2fbe12d047a5 (patch)
treebcaa45b4a0095c4c502ffac056e26481a7b49442 /arch/sh/mm/pmb.c
parenta234ca0faa65dcd5cc473915bd925130ebb7b74b (diff)
downloadlinux-3f224f4e057ce67713f3e7a8890f2fbe12d047a5.tar.xz
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 6379091..233c011 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;
}