projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba1d345
)
drm: replace "drm_connector_unreference" with "drm_connector_put"
author
Fernando Ramos
<greenfoo@gluegarage.com>
Thu, 15 Nov 2018 22:16:25 +0000
(23:16 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sat, 24 Nov 2018 21:12:55 +0000
(22:12 +0100)
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
drivers/gpu/drm/bridge/tc358764.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/tc358764.c
b/drivers/gpu/drm/bridge/tc358764.c
index
ee6b98e
..
afd4910
100644
(file)
--- 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 = {