From: Jean Pihet Date: Wed, 1 Feb 2012 08:37:31 +0000 (+0100) Subject: ARM: OMAP2+: PM debug: fix the use of debugfs_create_* API X-Git-Tag: sz_beta4~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4279d42006dd58721e270eed602ffed441877773;p=pandora-kernel.git 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 Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed