drm/bridge: Replace drm_connector_{un/reference} with put, get functions
Subsystems (3)
Thomas Zimmermann
maintainerPATCH 1/1 drm/bridge: Replace drm_connector_{un/reference} with put, get functions
This patch unifies the naming of DRM functions for reference counting of struct drm_connector. The resulting code is more aligned with the rest of the Linux kernel interfaces.
Signed-off-by Thomas Zimmermann <[email protected]>
--- drivers/gpu/drm/bridge/tc358764.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/tc358764.c +1 -1
@@ -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 = {
Signature · 6 lines
2.19.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel