From: Wei Yongjun Date: Tue, 26 Aug 2014 10:24:24 +0000 (+0200) Subject: drm: sti: Fix return value check in sti_drm_platform_probe() X-Git-Tag: fix-v3.17-io-chain-v3~26^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eacd9aa98bdeef5ba19072d3f07dfcccd24988f2;p=pandora-kernel.git drm: sti: Fix return value check in sti_drm_platform_probe() In case of error, the function platform_device_register_resndata() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- Reading git-diff-tree failed