aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/hdmi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-10 08:27:07 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 07:00:48 -0400
commit7ae9a71e09d098deecce1140acf4f5e529211270 (patch)
tree95121c4ec40eea28745d01cf24be644d194d34e9 /drivers/video/omap2/dss/hdmi.c
parent6fcd485b04e67c370026b41a951e0dc410a8d47b (diff)
OMAPDSS: remove dssdev uses in trivial cases
In the future the "dssdev" parameter passed to output drivers will change its meaning. Instead of being a pointer to the panel device, it's a pointer to the output instance. To make the transition easier, some of the uses for this dssdev parameter can be easily removed. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.c')
-rw-r--r--drivers/video/omap2/dss/hdmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 98341fe32056..86b495c4b90f 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -560,7 +560,7 @@ static int hdmi_power_on_full(struct omap_dss_device *dssdev)
560{ 560{
561 int r; 561 int r;
562 struct omap_video_timings *p; 562 struct omap_video_timings *p;
563 struct omap_overlay_manager *mgr = dssdev->output->manager; 563 struct omap_overlay_manager *mgr = hdmi.output.manager;
564 unsigned long phy; 564 unsigned long phy;
565 565
566 r = hdmi_power_on_core(dssdev); 566 r = hdmi_power_on_core(dssdev);
@@ -623,7 +623,7 @@ err_pll_enable:
623 623
624static void hdmi_power_off_full(struct omap_dss_device *dssdev) 624static void hdmi_power_off_full(struct omap_dss_device *dssdev)
625{ 625{
626 struct omap_overlay_manager *mgr = dssdev->output->manager; 626 struct omap_overlay_manager *mgr = hdmi.output.manager;
627 627
628 dss_mgr_disable(mgr); 628 dss_mgr_disable(mgr);
629 629
@@ -720,7 +720,7 @@ bool omapdss_hdmi_detect(void)
720 720
721int omapdss_hdmi_display_enable(struct omap_dss_device *dssdev) 721int omapdss_hdmi_display_enable(struct omap_dss_device *dssdev)
722{ 722{
723 struct omap_dss_output *out = dssdev->output; 723 struct omap_dss_output *out = &hdmi.output;
724 int r = 0; 724 int r = 0;
725 725
726 DSSDBG("ENTER hdmi_display_enable\n"); 726 DSSDBG("ENTER hdmi_display_enable\n");