Commit 459e97ee authored by Sachin Kamat's avatar Sachin Kamat Committed by Inki Dae

drm/exynos: Remove non-DT support in exynos_hdmiphy

Since commit 383ffda2 ("ARM: EXYNOS: no more support non-DT
for EXYNOS SoCs"), Exynos platform is DT only. Hence remove
all the conditional macros and make the driver DT only.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent f61d5f29
...@@ -40,13 +40,6 @@ static int hdmiphy_remove(struct i2c_client *client) ...@@ -40,13 +40,6 @@ static int hdmiphy_remove(struct i2c_client *client)
return 0; return 0;
} }
static const struct i2c_device_id hdmiphy_id[] = {
{ "s5p_hdmiphy", 0 },
{ "exynos5-hdmiphy", 0 },
{ },
};
#ifdef CONFIG_OF
static struct of_device_id hdmiphy_match_types[] = { static struct of_device_id hdmiphy_match_types[] = {
{ {
.compatible = "samsung,exynos5-hdmiphy", .compatible = "samsung,exynos5-hdmiphy",
...@@ -58,15 +51,13 @@ static struct of_device_id hdmiphy_match_types[] = { ...@@ -58,15 +51,13 @@ static struct of_device_id hdmiphy_match_types[] = {
/* end node */ /* end node */
} }
}; };
#endif
struct i2c_driver hdmiphy_driver = { struct i2c_driver hdmiphy_driver = {
.driver = { .driver = {
.name = "exynos-hdmiphy", .name = "exynos-hdmiphy",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(hdmiphy_match_types), .of_match_table = hdmiphy_match_types,
}, },
.id_table = hdmiphy_id,
.probe = hdmiphy_probe, .probe = hdmiphy_probe,
.remove = hdmiphy_remove, .remove = hdmiphy_remove,
.command = NULL, .command = NULL,
......
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