OSDN Git Service

drm/mediatek: Delete not used of_device_get_match_data
authorMatthias Brugger <matthias.bgg@gmail.com>
Mon, 18 May 2020 11:22:54 +0000 (13:22 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sat, 4 Jul 2020 22:11:50 +0000 (06:11 +0800)
commitdeb0f88b2208e9e6dbe39a0cbb3cdc458580d999
tree5ab01eade08e9d192a26444db2c9ffaba11db053
parente9052927941d393b4bed6f295da763172b7829f0
drm/mediatek: Delete not used of_device_get_match_data

The driver will be loaded by via a platform device. So we
will need to get the device_node from the parent device.
Depending on this we will set the driver data.
As all this is done later already, just delete the call to
of_device_get_match_data.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_drv.c