From: Zhaolei Date: Fri, 17 Oct 2008 10:07:31 +0000 (+0800) Subject: Fix debugfs_create_*'s error checking method for arm/plat-omap X-Git-Tag: v2.6.27-omap1~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b50177d90c326ad95006864f470bc26902077398;p=pandora-kernel.git Fix debugfs_create_*'s error checking method for arm/plat-omap debugfs_create_*() returns NULL if an error occurs, returns -ENODEV when debugfs is not enabled in the kernel. Comparing to PATCH v1, because clk_debugfs_init is included in "#if defined CONFIG_DEBUG_FS", we only need to check NULL return. Thanks Li Zefan debugfs_create_u8() and other function's return value's checking method are also fixed in this patch. Signed-off-by: Zhao Lei Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed