Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88f9802c authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

arch/sh/mm/asids-debugfs.c: use PTR_ERR_OR_ZERO



Replace IS_ERR/PTR_ERR.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 455f9726
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -67,10 +67,8 @@ static int __init asids_debugfs_init(void)
					   NULL, &asids_debugfs_fops);
					   NULL, &asids_debugfs_fops);
	if (!asids_dentry)
	if (!asids_dentry)
		return -ENOMEM;
		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);
module_init(asids_debugfs_init);