From: Fernando Ramos Date: Thu, 15 Nov 2018 22:16:26 +0000 (+0100) Subject: drm: remove deprecated "drm_connector_[un]reference" functions X-Git-Tag: v5.15~303^2~28^2~6043 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dd0e9d3aa993af1357e1455602fe6eba2d06741;p=platform%2Fkernel%2Flinux-starfive.git drm: remove deprecated "drm_connector_[un]reference" functions There are no more places where this (deprecated) function is being used from, thus it can now be removed. Signed-off-by: Fernando Ramos Reviewed-by: Linus Walleij Reviewed-by: Lyude Paul Signed-off-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/20181115221634.22715-7-greenfoo@gluegarage.com --- diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index dd0552c..2f38d35 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -1193,30 +1193,6 @@ static inline void drm_connector_put(struct drm_connector *connector) } /** - * drm_connector_reference - acquire a connector reference - * @connector: DRM connector - * - * This is a compatibility alias for drm_connector_get() and should not be - * used by new code. - */ -static inline void drm_connector_reference(struct drm_connector *connector) -{ - drm_connector_get(connector); -} - -/** - * drm_connector_unreference - release a connector reference - * @connector: DRM connector - * - * This is a compatibility alias for drm_connector_put() and should not be - * used by new code. - */ -static inline void drm_connector_unreference(struct drm_connector *connector) -{ - drm_connector_put(connector); -} - -/** * drm_connector_is_unregistered - has the connector been unregistered from * userspace? * @connector: DRM connector