From: Wei Yongjun Date: Mon, 21 Oct 2013 03:34:07 +0000 (+0800) Subject: drm/tegra: Fix return value check X-Git-Tag: v3.14-rc1~47^2~45^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85316eae487fd7e1535860f3b1b2f9d3996d08db;p=pandora-kernel.git drm/tegra: Fix return value check In case of error, the devm_ioremap_resource() function returns ERR_PTR() and never NULL. The NULL test in the return value check should therefore be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Signed-off-by: Thierry Reding --- Reading git-diff-tree failed