summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/hdmi_phy.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-17 14:41:14 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-01-13 12:19:54 +0200
commit77601507bcfdd9845822458cd36327e592704c25 (patch)
tree6bab1be6e2af50e1dbbda6b8e83e459fcd0bf3d3 /drivers/video/omap2/dss/hdmi_phy.c
parent68104467ec19a56db2799049e53e910089c66c75 (diff)
downloadop-kernel-dev-77601507bcfdd9845822458cd36327e592704c25.zip
op-kernel-dev-77601507bcfdd9845822458cd36327e592704c25.tar.gz
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>
Diffstat (limited to 'drivers/video/omap2/dss/hdmi_phy.c')
-rw-r--r--drivers/video/omap2/dss/hdmi_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/hdmi_phy.c b/drivers/video/omap2/dss/hdmi_phy.c
index 45acb99..dd376ce 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)
struct resource *res;
struct resource temp_res;
- res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hdmi_txphy");
+ res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "phy");
if (!res) {
DSSDBG("can't get PHY mem resource by name\n");
/*
OpenPOWER on IntegriCloud