Skip to content

Commit f61d5f2

Browse files
Sachin Kamatdaeinki
authored andcommitted
drm/exynos: Remove non-DT support in exynos_ddc
Since commit 383ffda ("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 <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent eccbf0d commit f61d5f2

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

drivers/gpu/drm/exynos/exynos_ddc.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ static int s5p_ddc_remove(struct i2c_client *client)
4141
return 0;
4242
}
4343

44-
static struct i2c_device_id ddc_idtable[] = {
45-
{"s5p_ddc", 0},
46-
{"exynos5-hdmiddc", 0},
47-
{ },
48-
};
49-
50-
#ifdef CONFIG_OF
5144
static struct of_device_id hdmiddc_match_types[] = {
5245
{
5346
.compatible = "samsung,exynos5-hdmiddc",
@@ -57,15 +50,13 @@ static struct of_device_id hdmiddc_match_types[] = {
5750
/* end node */
5851
}
5952
};
60-
#endif
6153

6254
struct i2c_driver ddc_driver = {
6355
.driver = {
6456
.name = "exynos-hdmiddc",
6557
.owner = THIS_MODULE,
66-
.of_match_table = of_match_ptr(hdmiddc_match_types),
58+
.of_match_table = hdmiddc_match_types,
6759
},
68-
.id_table = ddc_idtable,
6960
.probe = s5p_ddc_probe,
7061
.remove = s5p_ddc_remove,
7162
.command = NULL,

0 commit comments

Comments
 (0)