]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/exynos: dsi: use IS_ERR() to check devm_ioremap_resource() results
authorJingoo Han <jg1.han@samsung.com>
Thu, 17 Apr 2014 10:08:40 +0000 (19:08 +0900)
committerDave Airlie <airlied@redhat.com>
Tue, 29 Apr 2014 23:48:50 +0000 (09:48 +1000)
commit293d3f6a70704691c3539bc3630ba1acbabc5c43
treea4f205775e226dbe9808345979ce672a15805ce0
parente2a75c446e38ddf32ccdeb6e8cf2baa61fd8510f
drm/exynos: dsi: use IS_ERR() to check devm_ioremap_resource() results

devm_ioremap_resource() returns an error pointer, not NULL. Thus,
the result should be checked with IS_ERR().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c