diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-02-24 10:52:18 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-02-24 10:52:18 (GMT) |
commit | d808aa69a7e85dea850ffe7b3d076be696da35be (patch) | |
tree | 312cd0c2676c14a97f67f020cce0ddf5fbd1d84d /arch/alpha/oprofile | |
parent | 23cbd4e84f98b36c91d19990760207112f142c5b (diff) | |
download | linux-fsl-qoriq-d808aa69a7e85dea850ffe7b3d076be696da35be.tar.xz |
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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/alpha/oprofile')
0 files changed, 0 insertions, 0 deletions