diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-08-06 16:03:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:12 -0700 |
commit | 88f9802c4f37dd6be588feae24f74e26aacb1779 (patch) | |
tree | 5fdb0db2ae5feeccd6ddec34a001299cc3eb0c27 /arch/sh/mm | |
parent | 455f9726244cb5de2b6a99f540743ba155633cc8 (diff) | |
download | op-kernel-dev-88f9802c4f37dd6be588feae24f74e26aacb1779.zip op-kernel-dev-88f9802c4f37dd6be588feae24f74e26aacb1779.tar.gz |
arch/sh/mm/asids-debugfs.c: use PTR_ERR_OR_ZERO
Replace IS_ERR/PTR_ERR.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/asids-debugfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/mm/asids-debugfs.c b/arch/sh/mm/asids-debugfs.c index 74c03ec..ecfc6b0 100644 --- a/arch/sh/mm/asids-debugfs.c +++ b/arch/sh/mm/asids-debugfs.c @@ -67,10 +67,8 @@ static int __init asids_debugfs_init(void) NULL, &asids_debugfs_fops); if (!asids_dentry) return -ENOMEM; - if (IS_ERR(asids_dentry)) - return PTR_ERR(asids_dentry); - return 0; + return PTR_ERR_OR_ZERO(asids_dentry); } module_init(asids_debugfs_init); |