diff options
author | 2012-02-01 09:37:31 +0100 | |
---|---|---|
committer | 2012-03-05 15:38:02 -0800 | |
commit | 401606fd708885d28ce3c14a2a8fe612f8a6b50f (patch) | |
tree | c29ad66364c171fc02648914e550484a5dd67efb /arch/um/kernel/process.c | |
parent | ARM: OMAP2+: PM: share clkdms_setup() across OMAP2, 3, 4 (diff) | |
download | wireguard-linux-401606fd708885d28ce3c14a2a8fe612f8a6b50f.tar.xz wireguard-linux-401606fd708885d28ce3c14a2a8fe612f8a6b50f.zip |
ARM: OMAP2+: PM debug: fix the use of debugfs_create_* API
Check the return code pointer value from debugfs_create_dir for error
or NULL.
Also added an additional check to prevent the creation of a 'suspend'
entry at the debugfs root in case a power domain directory cannot be
created.
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/um/kernel/process.c')
0 files changed, 0 insertions, 0 deletions