mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/omap: dsi: drop unused get_te()
The get_te() callback is not used, so we can drop the custom API. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-19-tomi.valkeinen@ti.com
This commit is contained in:
parent
e94793ee8e
commit
e869152d5a
2 changed files with 0 additions and 14 deletions
|
@ -918,18 +918,6 @@ err:
|
|||
return r;
|
||||
}
|
||||
|
||||
static int dsicm_get_te(struct omap_dss_device *dssdev)
|
||||
{
|
||||
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
||||
int r;
|
||||
|
||||
mutex_lock(&ddata->lock);
|
||||
r = ddata->te_enabled;
|
||||
mutex_unlock(&ddata->lock);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
static void dsicm_ulps_work(struct work_struct *work)
|
||||
{
|
||||
struct panel_drv_data *ddata = container_of(work, struct panel_drv_data,
|
||||
|
@ -1001,7 +989,6 @@ static const struct omap_dss_driver dsicm_dss_driver = {
|
|||
.sync = dsicm_sync,
|
||||
|
||||
.enable_te = dsicm_enable_te,
|
||||
.get_te = dsicm_get_te,
|
||||
};
|
||||
|
||||
static int dsicm_probe_of(struct mipi_dsi_device *dsi)
|
||||
|
|
|
@ -391,7 +391,6 @@ struct omap_dss_driver {
|
|||
int (*sync)(struct omap_dss_device *dssdev);
|
||||
|
||||
int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
|
||||
int (*get_te)(struct omap_dss_device *dssdev);
|
||||
};
|
||||
|
||||
struct dss_device *omapdss_get_dss(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue