diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-04-01 15:17:45 +0200 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-04-30 04:34:10 +0200 |
commit | 8dfae156480719dda046916850d3ee3b255a48c3 (patch) | |
tree | 484417bd2e3a6d82586c29a971a8b79a2e2b40d1 /drivers/gpu/drm/exynos | |
parent | drm/exynos: hdmi: use generic of_device_get_match_data helper (diff) | |
download | linux-8dfae156480719dda046916850d3ee3b255a48c3.tar.xz linux-8dfae156480719dda046916850d3ee3b255a48c3.zip |
drm/exynos: mixer: remove support for non-dt platforms
There are no non-devicetree based Exynos platforms in mainline, so there
no point keeping old platform driver data for them.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 27f36c06505b..d131a5a27a07 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1159,18 +1159,6 @@ static struct mixer_drv_data exynos4210_mxr_drv_data = { .has_sclk = 1, }; -static const struct platform_device_id mixer_driver_types[] = { - { - .name = "s5p-mixer", - .driver_data = (unsigned long)&exynos4210_mxr_drv_data, - }, { - .name = "exynos5-mixer", - .driver_data = (unsigned long)&exynos5250_mxr_drv_data, - }, { - /* end node */ - } -}; - static struct of_device_id mixer_match_types[] = { { .compatible = "samsung,exynos4210-mixer", @@ -1262,9 +1250,6 @@ static int mixer_probe(struct platform_device *pdev) match = of_match_node(mixer_match_types, dev->of_node); drv = (struct mixer_drv_data *)match->data; - } else { - drv = (struct mixer_drv_data *) - platform_get_device_id(pdev)->driver_data; } ctx->pdev = pdev; @@ -1359,5 +1344,4 @@ struct platform_driver mixer_driver = { }, .probe = mixer_probe, .remove = mixer_remove, - .id_table = mixer_driver_types, }; |