summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King2013-02-24 11:55:24 +0100
committerRussell King2013-02-24 11:55:24 +0100
commit62f0f39b4aa2dce08f08797089e60d945448ca2b (patch)
tree844df7ee10b684211400b9f7889b7a963e5d2df3 /include
parentARM: cleanup: debugfs error handling (diff)
downloadkernel-qcow2-linux-62f0f39b4aa2dce08f08797089e60d945448ca2b.tar.gz
kernel-qcow2-linux-62f0f39b4aa2dce08f08797089e60d945448ca2b.tar.xz
kernel-qcow2-linux-62f0f39b4aa2dce08f08797089e60d945448ca2b.zip
ARM: cleanup: pwrdm_can_ever_lose_context() checking
pwrdm_can_ever_lose_context() is only ever called from the OMAP GPIO code, and only with a pointer returned from omap_hwmod_get_pwrdm(). omap_hwmod_get_pwrdm() only ever returns NULL on error, so using IS_ERR_OR_NULL() to validate the passed pointer is silly. Use a simpler !ptr check instead. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions