summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/omap-pm-noop.c
diff options
context:
space:
mode:
authorJean Pihet <jean.pihet@newoldbits.com>2012-02-01 09:37:31 +0100
committerKevin Hilman <khilman@ti.com>2012-03-05 15:38:02 -0800
commit401606fd708885d28ce3c14a2a8fe612f8a6b50f (patch)
treec29ad66364c171fc02648914e550484a5dd67efb /arch/arm/plat-omap/omap-pm-noop.c
parent92206fd292da7632c039f6c4054bdaac08b030c0 (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>
Diffstat (limited to 'arch/arm/plat-omap/omap-pm-noop.c')
0 files changed, 0 insertions, 0 deletions