drm/exynos: mic: add a bridge at probe
authorInki Dae <inki.dae@samsung.com>
Mon, 3 Jul 2017 07:08:23 +0000 (16:08 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 27 Jul 2017 00:24:02 +0000 (09:24 +0900)
commit576d72fbfb454eb903447fee5e5dbb5cfb700fee
tree3f1dfc276edb1ebf0156f6e86125e3fe69843322
parent0d51a0a534534c8b5d843620243e2370a3e87217
drm/exynos: mic: add a bridge at probe

This patch moves drm_bridge_add call into probe.

It doesn't need to call drm_bridge_add call every time
bind callback is called.

Changelog v2
- moved drm_bridge_remove call into remove callback.
- corrected description.

Suggested-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_mic.c