From: Russell King Date: Sun, 24 Feb 2013 10:52:18 +0000 (+0000) Subject: ARM: cleanup: debugfs error handling X-Git-Tag: omap-for-v3.10/timer-signed~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d808aa69a7e85dea850ffe7b3d076be696da35be;p=pandora-kernel.git ARM: cleanup: debugfs error handling Debugfs functions return NULL when they fail, or an error pointer when not configured. The intention behind the error pointer is that it appears as a valid pointer to the caller, and so the caller continues inspite of debugfs not being available. Debugfs failure should only ever be checked with (!ptr) and not the IS_ERR*() functions. Signed-off-by: Russell King --- Reading git-diff-tree failed