Zhaolei e621f266d4 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>
2008-11-04 13:35:07 -08:00
..
2008-10-14 22:24:42 +01:00
2008-10-15 23:16:07 +01:00
2008-10-14 22:24:42 +01:00
2008-09-06 12:10:45 +01:00
2008-10-14 22:24:42 +01:00
2008-10-09 17:51:41 +03:00
2008-09-06 12:10:45 +01:00
2008-09-06 12:10:45 +01:00
2008-09-06 12:10:45 +01:00
2008-10-14 22:24:42 +01:00
2008-09-06 12:10:45 +01:00