summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2019-05-28 11:27:42 +0300
committerAndrzej Hajda <a.hajda@samsung.com>2019-05-31 15:41:28 +0200
commit0cdb42f313e0c6fa928d2ba55f6d200f615005bc (patch)
treefb811352f71fa3c0b181ca12cf3986669b3e6a8d /drivers/gpu
parent4647a64fd56abc13da1b86550aeed74cb771c3a1 (diff)
downloadlinux-stable-0cdb42f313e0c6fa928d2ba55f6d200f615005bc.tar.gz
linux-stable-0cdb42f313e0c6fa928d2ba55f6d200f615005bc.tar.bz2
linux-stable-0cdb42f313e0c6fa928d2ba55f6d200f615005bc.zip
drm/bridge: tc358767: remove tc_connector_best_encoder
drm_connector_helper_funcs.best_encoder is only needed when the connector can have more than one encoder, and that is never the case here. So remove tc_connector_best_encoder. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190528082747.3631-20-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/bridge/tc358767.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c
index 9ebe78e9562d..83cb43af60e5 100644
--- a/drivers/gpu/drm/bridge/tc358767.c
+++ b/drivers/gpu/drm/bridge/tc358767.c
@@ -1216,17 +1216,8 @@ static void tc_connector_set_polling(struct tc_data *tc,
DRM_CONNECTOR_POLL_DISCONNECT;
}
-static struct drm_encoder *
-tc_connector_best_encoder(struct drm_connector *connector)
-{
- struct tc_data *tc = connector_to_tc(connector);
-
- return tc->bridge.encoder;
-}
-
static const struct drm_connector_helper_funcs tc_connector_helper_funcs = {
.get_modes = tc_connector_get_modes,
- .best_encoder = tc_connector_best_encoder,
};
static const struct drm_connector_funcs tc_connector_funcs = {