linux_dsm_epyc7002/drivers/gpu/drm/shmobile
YueHaibing 06c3bbd3c1 drm/shmob: Fix return value check in shmob_drm_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: 8f1597c8f1 ("drm: shmobile: Perform initialization/cleanup at probe/remove time")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
2019-01-14 03:51:16 +02:00
..
Kconfig drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
shmob_drm_backlight.c drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_backlight.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_crtc.c drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_crtc.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_drv.c drm/shmob: Fix return value check in shmob_drm_probe 2019-01-14 03:51:16 +02:00
shmob_drm_drv.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_kms.c drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_kms.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_plane.c drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_plane.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_regs.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00