commit | 401606fd708885d28ce3c14a2a8fe612f8a6b50f | [log] [tgz] |
---|---|---|
author | Jean Pihet <jean.pihet@newoldbits.com> | Wed Feb 01 09:37:31 2012 +0100 |
committer | Kevin Hilman <khilman@ti.com> | Mon Mar 05 15:38:02 2012 -0800 |
tree | c29ad66364c171fc02648914e550484a5dd67efb | |
parent | 92206fd292da7632c039f6c4054bdaac08b030c0 [diff] |
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>