drm/mediatek: use platform_register_drivers
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 17 Mar 2017 17:00:23 +0000 (18:00 +0100)
committerCK Hu <ck.hu@mediatek.com>
Tue, 27 Jun 2017 09:34:53 +0000 (17:34 +0800)
commit446b8c542f8551b368dab1ff3539beb3aedb5928
tree679fffba3c573d92addfb8df6cc7c70ba192fd03
parent170748db2deb2dedcb405ae091dbc74a478842e5
drm/mediatek: use platform_register_drivers

Use platform_register_drivers instead of open coding the iteration over
component platform drivers in the mtk_drm_drv and mtk_hdmi modules.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_drv.c
drivers/gpu/drm/mediatek/mtk_hdmi.c