OpenCloudOS-Kernel/drivers/gpu/drm/pl111
Wei Yongjun 665f37e7ee drm/pl111: Fix return value check in pl111_amba_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: bed41005e6 ("drm/pl111: Initial drm/kms driver for pl111")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170521010152.6186-1-weiyj.lk@gmail.com
2017-05-22 13:34:14 -07:00
..
Kconfig
Makefile drm/pl111: Add a debugfs node to dump our registers. 2017-05-19 11:13:57 -07:00
pl111_connector.c
pl111_debugfs.c drm/pl111: Add a debugfs node to dump our registers. 2017-05-19 11:13:57 -07:00
pl111_display.c drm/pl111: make structure pl111_display_funcs static 2017-05-19 11:12:38 -07:00
pl111_drm.h drm/pl111: Add a debugfs node to dump our registers. 2017-05-19 11:13:57 -07:00
pl111_drv.c drm/pl111: Fix return value check in pl111_amba_probe() 2017-05-22 13:34:14 -07:00