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>
This commit is contained in:
parent
0b53f17971
commit
ff4733dcf5
@ -608,11 +608,6 @@ static void omap_dss_mgr_apply_mgr(struct omap_overlay_manager *mgr)
|
|||||||
|
|
||||||
mp = get_mgr_priv(mgr);
|
mp = get_mgr_priv(mgr);
|
||||||
|
|
||||||
if (mgr->device_changed) {
|
|
||||||
mgr->device_changed = false;
|
|
||||||
mp->user_info_dirty = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!mp->user_info_dirty)
|
if (!mp->user_info_dirty)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -807,7 +802,6 @@ int dss_mgr_set_device(struct omap_overlay_manager *mgr,
|
|||||||
|
|
||||||
dssdev->manager = mgr;
|
dssdev->manager = mgr;
|
||||||
mgr->device = dssdev;
|
mgr->device = dssdev;
|
||||||
mgr->device_changed = true;
|
|
||||||
|
|
||||||
mutex_unlock(&apply_lock);
|
mutex_unlock(&apply_lock);
|
||||||
|
|
||||||
@ -840,7 +834,6 @@ int dss_mgr_unset_device(struct omap_overlay_manager *mgr)
|
|||||||
|
|
||||||
mgr->device->manager = NULL;
|
mgr->device->manager = NULL;
|
||||||
mgr->device = NULL;
|
mgr->device = NULL;
|
||||||
mgr->device_changed = true;
|
|
||||||
|
|
||||||
mutex_unlock(&apply_lock);
|
mutex_unlock(&apply_lock);
|
||||||
|
|
||||||
|
@ -426,8 +426,6 @@ struct omap_overlay_manager {
|
|||||||
/* dynamic fields */
|
/* dynamic fields */
|
||||||
struct omap_dss_device *device;
|
struct omap_dss_device *device;
|
||||||
|
|
||||||
bool device_changed;
|
|
||||||
|
|
||||||
int (*set_device)(struct omap_overlay_manager *mgr,
|
int (*set_device)(struct omap_overlay_manager *mgr,
|
||||||
struct omap_dss_device *dssdev);
|
struct omap_dss_device *dssdev);
|
||||||
int (*unset_device)(struct omap_overlay_manager *mgr);
|
int (*unset_device)(struct omap_overlay_manager *mgr);
|
||||||
|
Loading…
Reference in New Issue
Block a user