aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-04-01 09:17:45 -0400
committerInki Dae <daeinki@gmail.com>2016-04-29 22:34:10 -0400
commit8dfae156480719dda046916850d3ee3b255a48c3 (patch)
tree484417bd2e3a6d82586c29a971a8b79a2e2b40d1
parent57a64122b6f9987c0dbe7af632e1857d33fb2469 (diff)
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>
-rw-r--r--drivers/gpu/drm/exynos/exynos_mixer.c16
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 = {
1159 .has_sclk = 1, 1159 .has_sclk = 1,
1160}; 1160};
1161 1161
1162static const struct platform_device_id mixer_driver_types[] = {
1163 {
1164 .name = "s5p-mixer",
1165 .driver_data = (unsigned long)&exynos4210_mxr_drv_data,
1166 }, {
1167 .name = "exynos5-mixer",
1168 .driver_data = (unsigned long)&exynos5250_mxr_drv_data,
1169 }, {
1170 /* end node */
1171 }
1172};
1173
1174static struct of_device_id mixer_match_types[] = { 1162static struct of_device_id mixer_match_types[] = {
1175 { 1163 {
1176 .compatible = "samsung,exynos4210-mixer", 1164 .compatible = "samsung,exynos4210-mixer",
@@ -1262,9 +1250,6 @@ static int mixer_probe(struct platform_device *pdev)
1262 1250
1263 match = of_match_node(mixer_match_types, dev->of_node); 1251 match = of_match_node(mixer_match_types, dev->of_node);
1264 drv = (struct mixer_drv_data *)match->data; 1252 drv = (struct mixer_drv_data *)match->data;
1265 } else {
1266 drv = (struct mixer_drv_data *)
1267 platform_get_device_id(pdev)->driver_data;
1268 } 1253 }
1269 1254
1270 ctx->pdev = pdev; 1255 ctx->pdev = pdev;
@@ -1359,5 +1344,4 @@ struct platform_driver mixer_driver = {
1359 }, 1344 },
1360 .probe = mixer_probe, 1345 .probe = mixer_probe,
1361 .remove = mixer_remove, 1346 .remove = mixer_remove,
1362 .id_table = mixer_driver_types,
1363}; 1347};