drm/mediatek: Separate getting larb device to a function
authorCK Hu <ck.hu@mediatek.com>
Tue, 17 Nov 2020 07:55:26 +0000 (15:55 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 28 Dec 2020 23:11:13 +0000 (07:11 +0800)
commit926df14ec571f6cdbf6d941a0f1be112bf7a7535
tree22e3f7830b1f93d30a78cebbbb55c4e786c61350
parent6ea6f8276725dc60cf8fe9a023b5f2c4cbb673a3
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>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c