drm/omap: check return value from soc_device_match
authorTomi Valkeinen <[email protected]>
Wed, 2 May 2018 09:11:56 +0000 (12:11 +0300)
committerSean Paul <[email protected]>
Mon, 7 May 2018 14:19:11 +0000 (10:19 -0400)
commit4d6cb5e2fee52af17001e92950f0894304706ee4
tree68c4247634406d79bcfc71ea944bc87034743be6
parent6a0f0c55619f0b82a677cab72e77c3444a5eee58
drm/omap: check return value from soc_device_match

soc_device_match() can return NULL, so add a check and fail if
soc_device_match() fails.

Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Benoit Parrot <[email protected]>
Reviewed-by: Peter Ujfalusi <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c