From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Ramos Subject: [PATCH 6/9] drm: remove deprecated "drm_connector_[un]reference" functions Date: Thu, 15 Nov 2018 23:16:26 +0100 Message-ID: <20181115221634.22715-7-greenfoo@gluegarage.com> References: <20181115221634.22715-1-greenfoo@gluegarage.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20181115221634.22715-1-greenfoo@gluegarage.com> Sender: linux-kernel-owner@vger.kernel.org To: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Jonathan Corbet , Alexey Brodkin , Boris Brezillon , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Gerd Hoffmann , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Lucas Stach , Russell King , Christian Gmeiner , Marek Vasut , Stefan List-Id: dri-devel@lists.freedesktop.org There are no more places where this (deprecated) function is being used from, thus it can now be removed. Signed-off-by: Fernando Ramos --- include/drm/drm_connector.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 9ccad6b062f2..b91b206f1665 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -1191,30 +1191,6 @@ static inline void drm_connector_put(struct drm_connector *connector) drm_mode_object_put(&connector->base); } -/** - * 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? -- 2.19.1