aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-17 07:41:14 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-01-13 05:19:54 -0500
commit77601507bcfdd9845822458cd36327e592704c25 (patch)
tree6bab1be6e2af50e1dbbda6b8e83e459fcd0bf3d3
parent68104467ec19a56db2799049e53e910089c66c75 (diff)
OMAPDSS: HDMI: rename resource names
The HDMI driver tries to get the needed memory resources by name and by ID. Resources by name are not currently defined, and will be used with DT boot. The resource names used in the driver are not quite perfect, and as they are not used yet, we can change them. This patch removes the unneeded "hdmi_" prefix from the names, and simplifies the names (e.g. hdmi_txphy -> phy). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/omap2/dss/hdmi4_core.c2
-rw-r--r--drivers/video/omap2/dss/hdmi_phy.c2
-rw-r--r--drivers/video/omap2/dss/hdmi_pll.c2
-rw-r--r--drivers/video/omap2/dss/hdmi_wp.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/hdmi4_core.c b/drivers/video/omap2/dss/hdmi4_core.c
index 2386a3d9a2a2..2eb04dcf807c 100644
--- a/drivers/video/omap2/dss/hdmi4_core.c
+++ b/drivers/video/omap2/dss/hdmi4_core.c
@@ -1006,7 +1006,7 @@ int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core)
1006 struct resource *res; 1006 struct resource *res;
1007 struct resource temp_res; 1007 struct resource temp_res;
1008 1008
1009 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hdmi_core"); 1009 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "core");
1010 if (!res) { 1010 if (!res) {
1011 DSSDBG("can't get CORE mem resource by name\n"); 1011 DSSDBG("can't get CORE mem resource by name\n");
1012 /* 1012 /*
diff --git a/drivers/video/omap2/dss/hdmi_phy.c b/drivers/video/omap2/dss/hdmi_phy.c
index 45acb997ac00..dd376ce8da01 100644
--- a/drivers/video/omap2/dss/hdmi_phy.c
+++ b/drivers/video/omap2/dss/hdmi_phy.c
@@ -124,7 +124,7 @@ int hdmi_phy_init(struct platform_device *pdev, struct hdmi_phy_data *phy)
124 struct resource *res; 124 struct resource *res;
125 struct resource temp_res; 125 struct resource temp_res;
126 126
127 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hdmi_txphy"); 127 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "phy");
128 if (!res) { 128 if (!res) {
129 DSSDBG("can't get PHY mem resource by name\n"); 129 DSSDBG("can't get PHY mem resource by name\n");
130 /* 130 /*
diff --git a/drivers/video/omap2/dss/hdmi_pll.c b/drivers/video/omap2/dss/hdmi_pll.c
index a06f4ee0b3a1..5fc71215c303 100644
--- a/drivers/video/omap2/dss/hdmi_pll.c
+++ b/drivers/video/omap2/dss/hdmi_pll.c
@@ -202,7 +202,7 @@ int hdmi_pll_init(struct platform_device *pdev, struct hdmi_pll_data *pll)
202 struct resource *res; 202 struct resource *res;
203 struct resource temp_res; 203 struct resource temp_res;
204 204
205 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hdmi_pllctrl"); 205 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pll");
206 if (!res) { 206 if (!res) {
207 DSSDBG("can't get PLL mem resource by name\n"); 207 DSSDBG("can't get PLL mem resource by name\n");
208 /* 208 /*
diff --git a/drivers/video/omap2/dss/hdmi_wp.c b/drivers/video/omap2/dss/hdmi_wp.c
index 209a06ec9f0c..cd620c6e43a0 100644
--- a/drivers/video/omap2/dss/hdmi_wp.c
+++ b/drivers/video/omap2/dss/hdmi_wp.c
@@ -243,7 +243,7 @@ int hdmi_wp_init(struct platform_device *pdev, struct hdmi_wp_data *wp)
243 struct resource *res; 243 struct resource *res;
244 struct resource temp_res; 244 struct resource temp_res;
245 245
246 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hdmi_wp"); 246 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "wp");
247 if (!res) { 247 if (!res) {
248 DSSDBG("can't get WP mem resource by name\n"); 248 DSSDBG("can't get WP mem resource by name\n");
249 /* 249 /*