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>
This commit is contained in:
@@ -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,
|
||||
|
||||
|
Reference in New Issue
Block a user