drm/exynos: fix IS_ERR() vs NULL check in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Apr 2022 10:21:34 +0000 (13:21 +0300)
committerInki Dae <inki.dae@samsung.com>
Tue, 14 Jun 2022 13:32:03 +0000 (22:32 +0900)
commit5c2b745173347ba21e3995d815f26925c91c517d
treeacc02ea07703d472076b2b384717c0e5fd6bf316
parentb13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3
drm/exynos: fix IS_ERR() vs NULL check in probe

The of_drm_find_bridge() does not return error pointers, it returns
NULL on error.

Fixes: dd8b6803bc49 ("exynos: drm: dsi: Attach in_bridge in MIC driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_mic.c