From: Wei Yongjun Date: Fri, 21 Sep 2012 07:19:09 +0000 (+0800) Subject: ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~65^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e09a716490dbce0b9b7d132d191f1f8785cb5df2;p=pandora-kernel.git ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe() 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 Acked-by: Eric Miao Signed-off-by: Haojian Zhuang --- Reading git-diff-tree failed