From 85316eae487fd7e1535860f3b1b2f9d3996d08db Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Mon, 21 Oct 2013 11:34:07 +0800 Subject: [PATCH] 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-format-patch failed