From: Wei Yongjun Date: Mon, 8 Oct 2012 22:01:41 +0000 (-0700) Subject: ARM: OMAP: fix return value check in realtime_counter_init() X-Git-Tag: omap-for-v3.7-rc1/fixes-signed~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=533b298110475804b15b93475389736140bf4aa9;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed