summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays-new/encoder-tpd12s015.c
diff options
context:
space:
mode:
authorTomi Valkeinen2013-07-24 12:01:34 +0200
committerTomi Valkeinen2013-08-30 07:51:10 +0200
commita73fdc647417699833f22d0f239affe22e062827 (patch)
tree604d506d15df8e16ff80b9682af42f1916eadb23 /drivers/video/omap2/displays-new/encoder-tpd12s015.c
parentOMAPDSS: DSS: remove legacy dss bus support (diff)
downloadkernel-qcow2-linux-a73fdc647417699833f22d0f239affe22e062827.tar.gz
kernel-qcow2-linux-a73fdc647417699833f22d0f239affe22e062827.tar.xz
kernel-qcow2-linux-a73fdc647417699833f22d0f239affe22e062827.zip
OMAPDSS: rename omap_dss_device's 'output' to 'src'
In the old panel device model we had "outputs", which were the encoders inside OMAP DSS block, and panel devices (omap_dss_device). The panel devices had a reference to the source of the video data, i.e. reference to an "output", in a field named "output". That was somewhat confusing even in the old panel device model, but even more so with the panel device model where we can have longer chains of display entities. This patch renames the "output" field to "src", which much better tells what the field points to. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays-new/encoder-tpd12s015.c')
-rw-r--r--drivers/video/omap2/displays-new/encoder-tpd12s015.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays-new/encoder-tpd12s015.c b/drivers/video/omap2/displays-new/encoder-tpd12s015.c
index ce0e010026cb..a3d29914d3b6 100644
--- a/drivers/video/omap2/displays-new/encoder-tpd12s015.c
+++ b/drivers/video/omap2/displays-new/encoder-tpd12s015.c
@@ -66,7 +66,7 @@ static int tpd_connect(struct omap_dss_device *dssdev,
if (r)
return r;
- dst->output = dssdev;
+ dst->src = dssdev;
dssdev->device = dst;
INIT_COMPLETION(ddata->hpd_completion);
@@ -102,7 +102,7 @@ static void tpd_disconnect(struct omap_dss_device *dssdev,
gpio_set_value_cansleep(ddata->ct_cp_hpd_gpio, 0);
- dst->output = NULL;
+ dst->src = NULL;
dssdev->device = NULL;
in->ops.hdmi->disconnect(in, &ddata->dssdev);