diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-02-14 04:26:52 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 16:13:25 +0300 |
commit | 21ebcbac5066a36e0d88ea43921cce8418fd453a (patch) | |
tree | 643ef80b70e4b3e8964af3b50e460ad93b082c1c /drivers/gpu/drm/omapdrm/dss/display.c | |
parent | 9976782f331b0d54710fddd89848b9b6e22746d4 (diff) | |
download | linux-21ebcbac5066a36e0d88ea43921cce8418fd453a.tar.xz |
drm/omap: dss: Remove unused omapdss_default_get_timings()
All omap_dss_driver instances provide the get_timings operation. Remove
the default function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/display.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/display.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/display.c b/drivers/gpu/drm/omapdrm/dss/display.c index e1ab1592186e..752c9811c73a 100644 --- a/drivers/gpu/drm/omapdrm/dss/display.c +++ b/drivers/gpu/drm/omapdrm/dss/display.c @@ -28,19 +28,12 @@ #include "omapdss.h" -static void omapdss_default_get_timings(struct omap_dss_device *dssdev, - struct videomode *vm) -{ - *vm = dssdev->panel.vm; -} - static LIST_HEAD(panel_list); static DEFINE_MUTEX(panel_list_mutex); static int disp_num_counter; int omapdss_register_display(struct omap_dss_device *dssdev) { - struct omap_dss_driver *drv = dssdev->driver; int id; /* @@ -60,9 +53,6 @@ int omapdss_register_display(struct omap_dss_device *dssdev) dssdev->name = devm_kasprintf(dssdev->dev, GFP_KERNEL, "display%u", id); - if (drv && drv->get_timings == NULL) - drv->get_timings = omapdss_default_get_timings; - mutex_lock(&panel_list_mutex); list_add_tail(&dssdev->panel_list, &panel_list); mutex_unlock(&panel_list_mutex); |