diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-03-06 16:34:53 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 09:13:28 -0400 |
commit | 43f7078f6b6f8fed8edfbbdeff83e276306e5e6e (patch) | |
tree | 730f5b2a47aed9665139be803d8d880d954d8a0e /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | 0f37938c7c432c7737d85940475bcbd3c362447e (diff) |
drm/omap: dss: Remove the dss_mgr_(dis)connect() operations
The dss_mgr .connect() and .disconnect() are implemented as no-op in
omapdrm. The operations are unneeded, remove them.
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/omap_crtc.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 7f837697e76c..80498dcde6d7 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
@@ -110,19 +110,6 @@ int omap_crtc_wait_pending(struct drm_crtc *crtc) | |||
110 | */ | 110 | */ |
111 | 111 | ||
112 | /* we can probably ignore these until we support command-mode panels: */ | 112 | /* we can probably ignore these until we support command-mode panels: */ |
113 | static int omap_crtc_dss_connect(struct omap_drm_private *priv, | ||
114 | enum omap_channel channel, | ||
115 | struct omap_dss_device *dst) | ||
116 | { | ||
117 | return 0; | ||
118 | } | ||
119 | |||
120 | static void omap_crtc_dss_disconnect(struct omap_drm_private *priv, | ||
121 | enum omap_channel channel, | ||
122 | struct omap_dss_device *dst) | ||
123 | { | ||
124 | } | ||
125 | |||
126 | static void omap_crtc_dss_start_update(struct omap_drm_private *priv, | 113 | static void omap_crtc_dss_start_update(struct omap_drm_private *priv, |
127 | enum omap_channel channel) | 114 | enum omap_channel channel) |
128 | { | 115 | { |
@@ -254,8 +241,6 @@ static void omap_crtc_dss_unregister_framedone( | |||
254 | } | 241 | } |
255 | 242 | ||
256 | static const struct dss_mgr_ops mgr_ops = { | 243 | static const struct dss_mgr_ops mgr_ops = { |
257 | .connect = omap_crtc_dss_connect, | ||
258 | .disconnect = omap_crtc_dss_disconnect, | ||
259 | .start_update = omap_crtc_dss_start_update, | 244 | .start_update = omap_crtc_dss_start_update, |
260 | .enable = omap_crtc_dss_enable, | 245 | .enable = omap_crtc_dss_enable, |
261 | .disable = omap_crtc_dss_disable, | 246 | .disable = omap_crtc_dss_disable, |