drm/mediatek: Separate getting larb device to a function

To make the code cleaner, separate getting larb device to
a function.

Signed-off-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
This commit is contained in:
CK Hu 2020-11-17 15:55:26 +08:00 • committed by Chun-Kuang Hu
commit 926df14ec5