Skip to content
Commit b517531c authored by Zhaolei's avatar Zhaolei Committed by Ralf Baechle
Browse files

MIPS: Fix debugfs_create_*'s error checking method for mips/kernel/



debugfs_create_*() returns NULL on error.  Make its callers return -ENODEV
on error.

Signed-off-by: default avatarZhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent ecab1f44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment