]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/mediatek: mtk_hdmi: Convert to module_platform_driver macro
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 15 Apr 2025 10:43:04 +0000 (12:43 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 21 Apr 2025 12:32:17 +0000 (12:32 +0000)
commit957cac22a82d33ae2cede1c59dc6844139fd92b3
treedf1f59f43ab3f46ba3b7d86d69d6e8cb08146449
parentc241118b62164786303e6614378feb7d1fda4f54
drm/mediatek: mtk_hdmi: Convert to module_platform_driver macro

Now that all of the mtk_hdmi subdrivers are a platform driver on
their own it is possible to remove the custom init/exit functions
in this driver and just use the module_platform_driver() macro.

While at it, also compress struct of_device_id entries and remove
stray commas in mtk_hdmi_driver assignments.

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20250415104321.51149-7-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_hdmi.c