diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-05-12 12:56:57 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-06-02 10:57:19 +0300 |
commit | d2935c1e96dc243c941d09f0f9777bffb1e5e468 (patch) | |
tree | 1d8a4b206f1d24b1e57cfbf768595af0a15edfe5 /drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | |
parent | fb251e348519b16ba9baf040f5f295fb1d08fcc5 (diff) | |
download | linux-d2935c1e96dc243c941d09f0f9777bffb1e5e468.tar.xz |
drm/omap: remove legacy get_resolution
get_resolution is not used, remove it.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index 1fbbe4c4bce6..76787a75a4dc 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c @@ -379,13 +379,6 @@ static const struct backlight_ops dsicm_bl_ops = { .update_status = dsicm_bl_update_status, }; -static void dsicm_get_resolution(struct omap_dss_device *dssdev, - u16 *xres, u16 *yres) -{ - *xres = dssdev->panel.vm.hactive; - *yres = dssdev->panel.vm.vactive; -} - static ssize_t dsicm_num_errors_show(struct device *dev, struct device_attribute *attr, char *buf) { @@ -1116,8 +1109,6 @@ static struct omap_dss_driver dsicm_ops = { .update = dsicm_update, .sync = dsicm_sync, - .get_resolution = dsicm_get_resolution, - .enable_te = dsicm_enable_te, .get_te = dsicm_get_te, |