drm/mediatek: Add component_del in OVL and COLOR remove function
Add component_del in OVL and COLOR remove function.
Fixes: ff1395609e
("drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver")
Signed-off-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
This commit is contained in:
parent
71ac6f390f
commit
da4d4517ba
@ -133,6 +133,8 @@ static int mtk_disp_color_probe(struct platform_device *pdev)
|
||||
|
||||
static int mtk_disp_color_remove(struct platform_device *pdev)
|
||||
{
|
||||
component_del(&pdev->dev, &mtk_disp_color_component_ops);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -423,6 +423,8 @@ static int mtk_disp_ovl_probe(struct platform_device *pdev)
|
||||
|
||||
static int mtk_disp_ovl_remove(struct platform_device *pdev)
|
||||
{
|
||||
component_del(&pdev->dev, &mtk_disp_ovl_component_ops);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user