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: v3.4-rc1~91^2~3^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401606fd708885d28ce3c14a2a8fe612f8a6b50f;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