summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/setup.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-10-08 15:01:41 -0700
committerTony Lindgren <tony@atomide.com>2012-10-08 15:43:57 -0700
commit533b298110475804b15b93475389736140bf4aa9 (patch)
tree75bffd5cc625fca75cde4ca267a66f21d5e77147 /arch/arm/kernel/setup.c
parent64de3a00a16bcdf940cbebb1b2dc05d7cc13fef5 (diff)
ARM: OMAP: fix return value check in realtime_counter_init()
In case of error, the function clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions