commit | 85316eae487fd7e1535860f3b1b2f9d3996d08db | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Mon Oct 21 11:34:07 2013 +0800 |
committer | Thierry Reding <treding@nvidia.com> | Fri Dec 20 15:56:05 2013 +0100 |
tree | 5efcfa5cd09c0ff68e5ae4920ff02cc893ea1f01 | |
parent | dec727399a4b36bec87b7b4d4c1b20025e69758a [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Thierry Reding <treding@nvidia.com>