Skip to content
Commit 85316eae authored by Wei Yongjun's avatar Wei Yongjun Committed by Thierry Reding
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent dec72739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment