From: Wei Yongjun Date: Thu, 20 Sep 2012 21:06:10 +0000 (+0000) Subject: stmmac: fix return value check in stmmac_open_ext_timer() X-Git-Tag: v3.6-rc7~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6861509f9fee9c5e568c5f6852bb96f2475b4179;p=pandora-kernel.git stmmac: fix return value check in stmmac_open_ext_timer() In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed