Commit 8dfae156 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Inki Dae

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: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 57a64122
...@@ -1159,18 +1159,6 @@ static struct mixer_drv_data exynos4210_mxr_drv_data = { ...@@ -1159,18 +1159,6 @@ static struct mixer_drv_data exynos4210_mxr_drv_data = {
.has_sclk = 1, .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[] = { static struct of_device_id mixer_match_types[] = {
{ {
.compatible = "samsung,exynos4210-mixer", .compatible = "samsung,exynos4210-mixer",
...@@ -1262,9 +1250,6 @@ static int mixer_probe(struct platform_device *pdev) ...@@ -1262,9 +1250,6 @@ static int mixer_probe(struct platform_device *pdev)
match = of_match_node(mixer_match_types, dev->of_node); match = of_match_node(mixer_match_types, dev->of_node);
drv = (struct mixer_drv_data *)match->data; drv = (struct mixer_drv_data *)match->data;
} else {
drv = (struct mixer_drv_data *)
platform_get_device_id(pdev)->driver_data;
} }
ctx->pdev = pdev; ctx->pdev = pdev;
...@@ -1359,5 +1344,4 @@ struct platform_driver mixer_driver = { ...@@ -1359,5 +1344,4 @@ struct platform_driver mixer_driver = {
}, },
.probe = mixer_probe, .probe = mixer_probe,
.remove = mixer_remove, .remove = mixer_remove,
.id_table = mixer_driver_types,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment