summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays-new/encoder-tpd12s015.c
diff options
context:
space:
mode:
authorTomi Valkeinen2013-07-24 12:06:54 +0200
committerTomi Valkeinen2013-08-30 07:51:11 +0200
commit9560dc1059222d059d494a64e5da4c54d23838da (patch)
treec42e4363954b421c0f46bb0e336060ad527414b3 /drivers/video/omap2/displays-new/encoder-tpd12s015.c
parentOMAPDSS: rename omap_dss_device's 'output' to 'src' (diff)
downloadkernel-qcow2-linux-9560dc1059222d059d494a64e5da4c54d23838da.tar.gz
kernel-qcow2-linux-9560dc1059222d059d494a64e5da4c54d23838da.tar.xz
kernel-qcow2-linux-9560dc1059222d059d494a64e5da4c54d23838da.zip
OMAPDSS: rename omap_dss_device's 'device' field to 'dst'
In the old panel device model we had omap_dss_output entities, representing the encoders in the DSS block. This entity had "device" field, which pointed to the panel that was using the omap_dss_output. With the new panel device model, the omap_dss_output is integrated into omap_dss_device, which now represents a "display entity". Thus the "device" field, now in omap_dss_device, points to the next entity in the display entity-chain. This patch renames the "device" field to "dst", 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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/omap2/displays-new/encoder-tpd12s015.c b/drivers/video/omap2/displays-new/encoder-tpd12s015.c
index a3d29914d3b6..798ef200b055 100644
--- a/drivers/video/omap2/displays-new/encoder-tpd12s015.c
+++ b/drivers/video/omap2/displays-new/encoder-tpd12s015.c
@@ -67,7 +67,7 @@ static int tpd_connect(struct omap_dss_device *dssdev,
return r;
dst->src = dssdev;
- dssdev->device = dst;
+ dssdev->dst = dst;
INIT_COMPLETION(ddata->hpd_completion);
@@ -95,15 +95,15 @@ static void tpd_disconnect(struct omap_dss_device *dssdev,
struct panel_drv_data *ddata = to_panel_data(dssdev);
struct omap_dss_device *in = ddata->in;
- WARN_ON(dst != dssdev->device);
+ WARN_ON(dst != dssdev->dst);
- if (dst != dssdev->device)
+ if (dst != dssdev->dst)
return;
gpio_set_value_cansleep(ddata->ct_cp_hpd_gpio, 0);
dst->src = NULL;
- dssdev->device = NULL;
+ dssdev->dst = NULL;
in->ops.hdmi->disconnect(in, &ddata->dssdev);
}
@@ -372,7 +372,7 @@ static int __exit tpd_remove(struct platform_device *pdev)
WARN_ON(omapdss_device_is_connected(dssdev));
if (omapdss_device_is_connected(dssdev))
- tpd_disconnect(dssdev, dssdev->device);
+ tpd_disconnect(dssdev, dssdev->dst);
omap_dss_put_device(in);