diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-28 01:17:54 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-09-05 00:43:45 -0400 |
commit | f61d5f29846cc88144ede0d1e2bc05ddce7eea69 (patch) | |
tree | 43cb4f5ac8dcb4f7e9b27f81f078ce9d98d74556 | |
parent | eccbf0d89706df838611c3e59a080a3efbc76451 (diff) |
drm/exynos: Remove non-DT support in exynos_ddc
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>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_ddc.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos/exynos_ddc.c index d1e539b1649c..6a8c84e7c839 100644 --- a/drivers/gpu/drm/exynos/exynos_ddc.c +++ b/drivers/gpu/drm/exynos/exynos_ddc.c | |||
@@ -41,13 +41,6 @@ static int s5p_ddc_remove(struct i2c_client *client) | |||
41 | return 0; | 41 | return 0; |
42 | } | 42 | } |
43 | 43 | ||
44 | static struct i2c_device_id ddc_idtable[] = { | ||
45 | {"s5p_ddc", 0}, | ||
46 | {"exynos5-hdmiddc", 0}, | ||
47 | { }, | ||
48 | }; | ||
49 | |||
50 | #ifdef CONFIG_OF | ||
51 | static struct of_device_id hdmiddc_match_types[] = { | 44 | static struct of_device_id hdmiddc_match_types[] = { |
52 | { | 45 | { |
53 | .compatible = "samsung,exynos5-hdmiddc", | 46 | .compatible = "samsung,exynos5-hdmiddc", |
@@ -57,15 +50,13 @@ static struct of_device_id hdmiddc_match_types[] = { | |||
57 | /* end node */ | 50 | /* end node */ |
58 | } | 51 | } |
59 | }; | 52 | }; |
60 | #endif | ||
61 | 53 | ||
62 | struct i2c_driver ddc_driver = { | 54 | struct i2c_driver ddc_driver = { |
63 | .driver = { | 55 | .driver = { |
64 | .name = "exynos-hdmiddc", | 56 | .name = "exynos-hdmiddc", |
65 | .owner = THIS_MODULE, | 57 | .owner = THIS_MODULE, |
66 | .of_match_table = of_match_ptr(hdmiddc_match_types), | 58 | .of_match_table = hdmiddc_match_types, |
67 | }, | 59 | }, |
68 | .id_table = ddc_idtable, | ||
69 | .probe = s5p_ddc_probe, | 60 | .probe = s5p_ddc_probe, |
70 | .remove = s5p_ddc_remove, | 61 | .remove = s5p_ddc_remove, |
71 | .command = NULL, | 62 | .command = NULL, |