]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Fix debugfs_create_dir's error checking method for arch/sh/kernel/
authorZhaolei <zhaolei@cn.fujitsu.com>
Fri, 17 Oct 2008 11:25:03 +0000 (19:25 +0800)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 01:40:15 +0000 (10:40 +0900)
commit9986b311efdc9727a5a48f03c3dac3d536fbaa74
tree7124d9785bf210d8bc79a604ff23dd1047051366
parenta3e0270663a520a2cb8c7418c098676f25478d2f
Fix debugfs_create_dir's error checking method for arch/sh/kernel/

debugfs_create_dir() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c