Skip to content

Commit 4bda3ca

Browse files
Hsiao Chien SungChun-Kuang Hu
authored andcommitted
drm/mediatek: Rename "mtk_drm_hdmi" to "mtk_hdmi"
Rename all "mtk_drm_hdmi" to "mtk_hdmi": - To align the naming rule - To reduce the code size Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: CK Hu <[email protected]> Signed-off-by: Hsiao Chien Sung <[email protected]> Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent 40024b8 commit 4bda3ca

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/gpu/drm/mediatek/mtk_hdmi.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ static int mtk_hdmi_register_audio_driver(struct device *dev)
16951695
return 0;
16961696
}
16971697

1698-
static int mtk_drm_hdmi_probe(struct platform_device *pdev)
1698+
static int mtk_hdmi_probe(struct platform_device *pdev)
16991699
{
17001700
struct mtk_hdmi *hdmi;
17011701
struct device *dev = &pdev->dev;
@@ -1754,7 +1754,7 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev)
17541754
return ret;
17551755
}
17561756

1757-
static void mtk_drm_hdmi_remove(struct platform_device *pdev)
1757+
static void mtk_hdmi_remove(struct platform_device *pdev)
17581758
{
17591759
struct mtk_hdmi *hdmi = platform_get_drvdata(pdev);
17601760

@@ -1798,7 +1798,7 @@ static const struct mtk_hdmi_conf mtk_hdmi_conf_mt8167 = {
17981798
.cea_modes_only = true,
17991799
};
18001800

1801-
static const struct of_device_id mtk_drm_hdmi_of_ids[] = {
1801+
static const struct of_device_id mtk_hdmi_of_ids[] = {
18021802
{ .compatible = "mediatek,mt2701-hdmi",
18031803
.data = &mtk_hdmi_conf_mt2701,
18041804
},
@@ -1809,14 +1809,14 @@ static const struct of_device_id mtk_drm_hdmi_of_ids[] = {
18091809
},
18101810
{}
18111811
};
1812-
MODULE_DEVICE_TABLE(of, mtk_drm_hdmi_of_ids);
1812+
MODULE_DEVICE_TABLE(of, mtk_hdmi_of_ids);
18131813

18141814
static struct platform_driver mtk_hdmi_driver = {
1815-
.probe = mtk_drm_hdmi_probe,
1816-
.remove_new = mtk_drm_hdmi_remove,
1815+
.probe = mtk_hdmi_probe,
1816+
.remove_new = mtk_hdmi_remove,
18171817
.driver = {
18181818
.name = "mediatek-drm-hdmi",
1819-
.of_match_table = mtk_drm_hdmi_of_ids,
1819+
.of_match_table = mtk_hdmi_of_ids,
18201820
.pm = &mtk_hdmi_pm_ops,
18211821
},
18221822
};

0 commit comments

Comments
 (0)