Skip to content

Commit 459e97e

Browse files
Sachin Kamatdaeinki
authored andcommitted
drm/exynos: Remove non-DT support in exynos_hdmiphy
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 f61d5f2 commit 459e97e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

drivers/gpu/drm/exynos/exynos_hdmiphy.c

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

43-
static const struct i2c_device_id hdmiphy_id[] = {
44-
{ "s5p_hdmiphy", 0 },
45-
{ "exynos5-hdmiphy", 0 },
46-
{ },
47-
};
48-
49-
#ifdef CONFIG_OF
5043
static struct of_device_id hdmiphy_match_types[] = {
5144
{
5245
.compatible = "samsung,exynos5-hdmiphy",
@@ -58,15 +51,13 @@ static struct of_device_id hdmiphy_match_types[] = {
5851
/* end node */
5952
}
6053
};
61-
#endif
6254

6355
struct i2c_driver hdmiphy_driver = {
6456
.driver = {
6557
.name = "exynos-hdmiphy",
6658
.owner = THIS_MODULE,
67-
.of_match_table = of_match_ptr(hdmiphy_match_types),
59+
.of_match_table = hdmiphy_match_types,
6860
},
69-
.id_table = hdmiphy_id,
7061
.probe = hdmiphy_probe,
7162
.remove = hdmiphy_remove,
7263
.command = NULL,

0 commit comments

Comments
 (0)