drm/mediatek: Fix uninitialized symbol
authorNancy.Lin <nancy.lin@mediatek.com>
Thu, 3 Aug 2023 09:48:43 +0000 (17:48 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 7 Aug 2023 23:26:07 +0000 (23:26 +0000)
commit63ee9438f2aeffb2d1b2df2599c168ca08d35025
tree474a93117b43a64ec8cddf34a3325dfaf560ef6d
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
drm/mediatek: Fix uninitialized symbol

Fix Smatch static checker warning
  -Fix uninitialized symbol comp_pdev in mtk_ddp_comp_init.

Fixes: 0d9eee9118b7 ("drm/mediatek: Add drm ovl_adaptor sub driver for MT8195")
Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20230803094843.4439-1-nancy.lin@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c