Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2935c1e authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

drm/omap: remove legacy get_resolution



get_resolution is not used, remove it.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent fb251e34
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -171,8 +171,6 @@ static struct omap_dss_driver tvc_driver = {
	.get_timings		= tvc_get_timings,
	.check_timings		= tvc_check_timings,

	.get_resolution		= omapdss_default_get_resolution,

	.get_wss		= tvc_get_wss,
	.set_wss		= tvc_set_wss,
};
+0 −2
Original line number Diff line number Diff line
@@ -227,8 +227,6 @@ static struct omap_dss_driver dvic_driver = {
	.get_timings	= dvic_get_timings,
	.check_timings	= dvic_check_timings,

	.get_resolution	= omapdss_default_get_resolution,

	.read_edid	= dvic_read_edid,
	.detect		= dvic_detect,
};
+0 −2
Original line number Diff line number Diff line
@@ -195,8 +195,6 @@ static struct omap_dss_driver hdmic_driver = {
	.get_timings		= hdmic_get_timings,
	.check_timings		= hdmic_check_timings,

	.get_resolution		= omapdss_default_get_resolution,

	.read_edid		= hdmic_read_edid,
	.detect			= hdmic_detect,
	.set_hdmi_mode		= hdmic_set_hdmi_mode,
+0 −2
Original line number Diff line number Diff line
@@ -158,8 +158,6 @@ static struct omap_dss_driver panel_dpi_ops = {
	.set_timings	= panel_dpi_set_timings,
	.get_timings	= panel_dpi_get_timings,
	.check_timings	= panel_dpi_check_timings,

	.get_resolution	= omapdss_default_get_resolution,
};

static int panel_dpi_probe_of(struct platform_device *pdev)
+0 −9
Original line number Diff line number Diff line
@@ -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,

Loading