From: Wei Yongjun Date: Fri, 21 Sep 2012 06:30:50 +0000 (+0800) Subject: ARM: OMAP: hsmmc: fix return value check in omap_hsmmc_init_one() X-Git-Tag: omap-for-v3.7-rc1/fixes-signed~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64de3a00a16bcdf940cbebb1b2dc05d7cc13fef5;p=pandora-kernel.git ARM: OMAP: hsmmc: fix return value check in omap_hsmmc_init_one() In case of error, the function omap_device_alloc() returns ERR_PTR() not NULL pointer. The NULL test in the return value check 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: Tony Lindgren --- Reading git-diff-tree failed