summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/powerdomain.c
diff options
context:
space:
mode:
authorRussell King2013-02-24 11:52:18 +0100
committerRussell King2013-02-24 11:52:18 +0100
commitd808aa69a7e85dea850ffe7b3d076be696da35be (patch)
tree312cd0c2676c14a97f67f020cce0ddf5fbd1d84d /arch/arm/mach-omap2/powerdomain.c
parentARM: cleanup: clk_get_sys() error handling (diff)
downloadkernel-qcow2-linux-d808aa69a7e85dea850ffe7b3d076be696da35be.tar.gz
kernel-qcow2-linux-d808aa69a7e85dea850ffe7b3d076be696da35be.tar.xz
kernel-qcow2-linux-d808aa69a7e85dea850ffe7b3d076be696da35be.zip
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/arm/mach-omap2/powerdomain.c')
0 files changed, 0 insertions, 0 deletions