aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-28 01:17:55 -0400
committerInki Dae <inki.dae@samsung.com>2013-09-05 00:43:45 -0400
commit459e97ee3422f0281069264e27246b4728ce8830 (patch)
tree720e6b030a993280ab49cbeb67d3e1222cdc651c /drivers
parentf61d5f29846cc88144ede0d1e2bc05ddce7eea69 (diff)
drm/exynos: Remove non-DT support in exynos_hdmiphy
Since commit 383ffda2fa ("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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/exynos/exynos_hdmiphy.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
index 6021996d3530..59abb1494ceb 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c
@@ -40,13 +40,6 @@ static int hdmiphy_remove(struct i2c_client *client)
40 return 0; 40 return 0;
41} 41}
42 42
43static const struct i2c_device_id hdmiphy_id[] = {
44 { "s5p_hdmiphy", 0 },
45 { "exynos5-hdmiphy", 0 },
46 { },
47};
48
49#ifdef CONFIG_OF
50static struct of_device_id hdmiphy_match_types[] = { 43static struct of_device_id hdmiphy_match_types[] = {
51 { 44 {
52 .compatible = "samsung,exynos5-hdmiphy", 45 .compatible = "samsung,exynos5-hdmiphy",
@@ -58,15 +51,13 @@ static struct of_device_id hdmiphy_match_types[] = {
58 /* end node */ 51 /* end node */
59 } 52 }
60}; 53};
61#endif
62 54
63struct i2c_driver hdmiphy_driver = { 55struct i2c_driver hdmiphy_driver = {
64 .driver = { 56 .driver = {
65 .name = "exynos-hdmiphy", 57 .name = "exynos-hdmiphy",
66 .owner = THIS_MODULE, 58 .owner = THIS_MODULE,
67 .of_match_table = of_match_ptr(hdmiphy_match_types), 59 .of_match_table = hdmiphy_match_types,
68 }, 60 },
69 .id_table = hdmiphy_id,
70 .probe = hdmiphy_probe, 61 .probe = hdmiphy_probe,
71 .remove = hdmiphy_remove, 62 .remove = hdmiphy_remove,
72 .command = NULL, 63 .command = NULL,