From: Zhaolei Date: Tue, 4 Nov 2008 21:35:07 +0000 (-0800) Subject: ARM: OMAP: Fix debugfs_create_*'s error checking method for arm/plat-omap X-Git-Tag: v2.6.28-rc4~24^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e621f266d4cd18a07a833877c3995d2ccb35b951;p=pandora-kernel.git ARM: OMAP: 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