summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKory Maincent (TI.com) <kory.maincent@bootlin.com>2026-01-23 19:12:41 +0300
committerLuca Ceresoli <luca.ceresoli@bootlin.com>2026-02-11 11:16:16 +0300
commit8ab51f56fd711cd9aa3960916cb0cc4bbc978eb5 (patch)
treea512d5f9f2469ea6ceac31e548cf8f2761fdadd9
parent22b88deb83af2b94f0441075e5528d16d5dcf5b2 (diff)
downloadlinux-8ab51f56fd711cd9aa3960916cb0cc4bbc978eb5.tar.xz
drm/bridge: tda998x: Remove useless tda998x_connector_destroy wrapper
Use directly drm_connector_cleanup in the destroy ops instead of having a custom function that does nothing more. Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Kory Maincent (TI.com) <kory.maincent@bootlin.com> Link: https://patch.msgid.link/20260123-feature_tilcdc-v5-23-5a44d2aa3f6f@bootlin.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
-rw-r--r--drivers/gpu/drm/bridge/tda998x_drv.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/bridge/tda998x_drv.c b/drivers/gpu/drm/bridge/tda998x_drv.c
index e06d8d4c4b87..fad3c9bfda38 100644
--- a/drivers/gpu/drm/bridge/tda998x_drv.c
+++ b/drivers/gpu/drm/bridge/tda998x_drv.c
@@ -1203,16 +1203,11 @@ tda998x_connector_detect(struct drm_connector *connector, bool force)
connector_status_disconnected;
}
-static void tda998x_connector_destroy(struct drm_connector *connector)
-{
- drm_connector_cleanup(connector);
-}
-
static const struct drm_connector_funcs tda998x_connector_funcs = {
.reset = drm_atomic_helper_connector_reset,
.fill_modes = drm_helper_probe_single_connector_modes,
.detect = tda998x_connector_detect,
- .destroy = tda998x_connector_destroy,
+ .destroy = drm_connector_cleanup,
.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
};