mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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 <angelogioacchino.delregno@collabora.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.corp-partner.google.com> Link: https://patchwork.kernel.org/project/dri-devel/patch/20240322091232.26387-6-shawn.sung@mediatek.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
This commit is contained in:
		
							parent
							
								
									40024b82c2
								
							
						
					
					
						commit
						4bda3ca572
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
					@ -1695,7 +1695,7 @@ static int mtk_hdmi_register_audio_driver(struct device *dev)
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int mtk_drm_hdmi_probe(struct platform_device *pdev)
 | 
					static int mtk_hdmi_probe(struct platform_device *pdev)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct mtk_hdmi *hdmi;
 | 
						struct mtk_hdmi *hdmi;
 | 
				
			||||||
	struct device *dev = &pdev->dev;
 | 
						struct device *dev = &pdev->dev;
 | 
				
			||||||
| 
						 | 
					@ -1754,7 +1754,7 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev)
 | 
				
			||||||
	return ret;
 | 
						return ret;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void mtk_drm_hdmi_remove(struct platform_device *pdev)
 | 
					static void mtk_hdmi_remove(struct platform_device *pdev)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct mtk_hdmi *hdmi = platform_get_drvdata(pdev);
 | 
						struct mtk_hdmi *hdmi = platform_get_drvdata(pdev);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1798,7 +1798,7 @@ static const struct mtk_hdmi_conf mtk_hdmi_conf_mt8167 = {
 | 
				
			||||||
	.cea_modes_only = true,
 | 
						.cea_modes_only = true,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct of_device_id mtk_drm_hdmi_of_ids[] = {
 | 
					static const struct of_device_id mtk_hdmi_of_ids[] = {
 | 
				
			||||||
	{ .compatible = "mediatek,mt2701-hdmi",
 | 
						{ .compatible = "mediatek,mt2701-hdmi",
 | 
				
			||||||
	  .data = &mtk_hdmi_conf_mt2701,
 | 
						  .data = &mtk_hdmi_conf_mt2701,
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
| 
						 | 
					@ -1809,14 +1809,14 @@ static const struct of_device_id mtk_drm_hdmi_of_ids[] = {
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{}
 | 
						{}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
MODULE_DEVICE_TABLE(of, mtk_drm_hdmi_of_ids);
 | 
					MODULE_DEVICE_TABLE(of, mtk_hdmi_of_ids);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct platform_driver mtk_hdmi_driver = {
 | 
					static struct platform_driver mtk_hdmi_driver = {
 | 
				
			||||||
	.probe = mtk_drm_hdmi_probe,
 | 
						.probe = mtk_hdmi_probe,
 | 
				
			||||||
	.remove_new = mtk_drm_hdmi_remove,
 | 
						.remove_new = mtk_hdmi_remove,
 | 
				
			||||||
	.driver = {
 | 
						.driver = {
 | 
				
			||||||
		.name = "mediatek-drm-hdmi",
 | 
							.name = "mediatek-drm-hdmi",
 | 
				
			||||||
		.of_match_table = mtk_drm_hdmi_of_ids,
 | 
							.of_match_table = mtk_hdmi_of_ids,
 | 
				
			||||||
		.pm = &mtk_hdmi_pm_ops,
 | 
							.pm = &mtk_hdmi_pm_ops,
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue