1
0
Fork 0
alistair23-linux/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 drm/pl111: Register the clock divider and use it. 2017-05-19 11:11:35 -07:00
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