aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-11-16 07:54:42 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-02 01:54:49 -0500
commitff4733dcf56480bebcd3801adde27213b893635d (patch)
tree1ac3b4dd0f4909e02f9f3770367ba65cfc0e48b1 /drivers/video/omap2
parent0b53f17971700f673492e2e91b5069893e5f2d0b (diff)
OMAPDSS: APPLY: remove device_changed field
omap_overlay_manager contains device_changed field, which no longer has any use. So remove the field and the few places where it is touched. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/dss/apply.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c
index 9916eb8e20d5..70154092d731 100644
--- a/drivers/video/omap2/dss/apply.c
+++ b/drivers/video/omap2/dss/apply.c
@@ -608,11 +608,6 @@ static void omap_dss_mgr_apply_mgr(struct omap_overlay_manager *mgr)
608 608
609 mp = get_mgr_priv(mgr); 609 mp = get_mgr_priv(mgr);
610 610
611 if (mgr->device_changed) {
612 mgr->device_changed = false;
613 mp->user_info_dirty = true;
614 }
615
616 if (!mp->user_info_dirty) 611 if (!mp->user_info_dirty)
617 return; 612 return;
618 613
@@ -807,7 +802,6 @@ int dss_mgr_set_device(struct omap_overlay_manager *mgr,
807 802
808 dssdev->manager = mgr; 803 dssdev->manager = mgr;
809 mgr->device = dssdev; 804 mgr->device = dssdev;
810 mgr->device_changed = true;
811 805
812 mutex_unlock(&apply_lock); 806 mutex_unlock(&apply_lock);
813 807
@@ -840,7 +834,6 @@ int dss_mgr_unset_device(struct omap_overlay_manager *mgr)
840 834
841 mgr->device->manager = NULL; 835 mgr->device->manager = NULL;
842 mgr->device = NULL; 836 mgr->device = NULL;
843 mgr->device_changed = true;
844 837
845 mutex_unlock(&apply_lock); 838 mutex_unlock(&apply_lock);
846 839