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: NTomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180502091159.7071-2-tomi.valkeinen@ti.comReviewed-by: NBenoit Parrot <bparrot@ti.com> Reviewed-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NSean Paul <seanpaul@chromium.org>
Showing
想要评论请 注册 或 登录