diff options
author | Fernando Ramos <greenfoo@gluegarage.com> | 2018-11-15 23:16:25 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-11-24 22:12:55 +0100 |
commit | 895170ce9205f3f19fb00e54e2a620389bd11038 (patch) | |
tree | 0e88f787a40f668ea843fa72d7471dd46dd43b98 | |
parent | ba1d345401476a5f7fbad622607c5a1f95e59b31 (diff) |
drm: replace "drm_connector_unreference" with "drm_connector_put"
This patch unifies the naming of DRM functions for reference counting as
requested on Documentation/gpu/todo.rst
Signed-off-by: Fernando Ramos <greenfoo@gluegarage.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20181115221634.22715-6-greenfoo@gluegarage.com
-rw-r--r-- | drivers/gpu/drm/bridge/tc358764.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c index ee6b98efa9c2..afd491018bfc 100644 --- a/drivers/gpu/drm/bridge/tc358764.c +++ b/drivers/gpu/drm/bridge/tc358764.c @@ -379,7 +379,7 @@ static void tc358764_detach(struct drm_bridge *bridge) drm_fb_helper_remove_one_connector(drm->fb_helper, &ctx->connector); drm_panel_detach(ctx->panel); ctx->panel = NULL; - drm_connector_unreference(&ctx->connector); + drm_connector_put(&ctx->connector); } static const struct drm_bridge_funcs tc358764_bridge_funcs = { |