drm/omap: dss: Remove unused omap_dss_device operations
The omap_dss_device .pre_enable(), .post_disable() and .set_timings() are not used anymore. Remove them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-55-laurent.pinchart@ideasonboard.com
This commit is contained in:

zatwierdzone przez
Tomi Valkeinen

rodzic
984f6c91d3
commit
e086558ae9
@@ -234,18 +234,6 @@ void omapdss_device_disconnect(struct omap_dss_device *src,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(omapdss_device_disconnect);
|
||||
|
||||
void omapdss_device_pre_enable(struct omap_dss_device *dssdev)
|
||||
{
|
||||
if (!dssdev)
|
||||
return;
|
||||
|
||||
omapdss_device_pre_enable(dssdev->next);
|
||||
|
||||
if (dssdev->ops && dssdev->ops->pre_enable)
|
||||
dssdev->ops->pre_enable(dssdev);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(omapdss_device_pre_enable);
|
||||
|
||||
void omapdss_device_enable(struct omap_dss_device *dssdev)
|
||||
{
|
||||
if (!dssdev)
|
||||
@@ -272,20 +260,6 @@ void omapdss_device_disable(struct omap_dss_device *dssdev)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(omapdss_device_disable);
|
||||
|
||||
void omapdss_device_post_disable(struct omap_dss_device *dssdev)
|
||||
{
|
||||
if (!dssdev)
|
||||
return;
|
||||
|
||||
if (dssdev->ops && dssdev->ops->post_disable)
|
||||
dssdev->ops->post_disable(dssdev);
|
||||
|
||||
omapdss_device_post_disable(dssdev->next);
|
||||
|
||||
dssdev->state = OMAP_DSS_DISPLAY_DISABLED;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(omapdss_device_post_disable);
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Components Handling
|
||||
*/
|
||||
|
@@ -342,15 +342,11 @@ struct omap_dss_device_ops {
|
||||
void (*disconnect)(struct omap_dss_device *dssdev,
|
||||
struct omap_dss_device *dst);
|
||||
|
||||
void (*pre_enable)(struct omap_dss_device *dssdev);
|
||||
void (*enable)(struct omap_dss_device *dssdev);
|
||||
void (*disable)(struct omap_dss_device *dssdev);
|
||||
void (*post_disable)(struct omap_dss_device *dssdev);
|
||||
|
||||
int (*check_timings)(struct omap_dss_device *dssdev,
|
||||
struct drm_display_mode *mode);
|
||||
void (*set_timings)(struct omap_dss_device *dssdev,
|
||||
const struct drm_display_mode *mode);
|
||||
|
||||
int (*get_modes)(struct omap_dss_device *dssdev,
|
||||
struct drm_connector *connector);
|
||||
@@ -449,10 +445,8 @@ int omapdss_device_connect(struct dss_device *dss,
|
||||
struct omap_dss_device *dst);
|
||||
void omapdss_device_disconnect(struct omap_dss_device *src,
|
||||
struct omap_dss_device *dst);
|
||||
void omapdss_device_pre_enable(struct omap_dss_device *dssdev);
|
||||
void omapdss_device_enable(struct omap_dss_device *dssdev);
|
||||
void omapdss_device_disable(struct omap_dss_device *dssdev);
|
||||
void omapdss_device_post_disable(struct omap_dss_device *dssdev);
|
||||
|
||||
int omap_dss_get_num_overlay_managers(void);
|
||||
|
||||
|
Reference in New Issue
Block a user