aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/mach/entry-macro.S
diff options
context:
space:
mode:
authorZhaolei <zhaolei@cn.fujitsu.com>2008-11-04 13:35:07 -0800
committerTony Lindgren <tony@atomide.com>2008-11-04 13:35:07 -0800
commite621f266d4cd18a07a833877c3995d2ccb35b951 (patch)
treea83c3ac2caeeea0ac0d24967cf5ba1535ce86184 /arch/arm/plat-omap/include/mach/entry-macro.S
parent85d7a070264272ceffec0c7ce0e9af1e37c62b6e (diff)
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 <lizf@cn.fujitsu.com> debugfs_create_u8() and other function's return value's checking method are also fixed in this patch. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/mach/entry-macro.S')
0 files changed, 0 insertions, 0 deletions