From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 898C37D089 for ; Wed, 21 Nov 2018 18:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731548AbeKVFcA (ORCPT ); Thu, 22 Nov 2018 00:32:00 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:39845 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731555AbeKVFcA (ORCPT ); Thu, 22 Nov 2018 00:32:00 -0500 Received: by mail-qt1-f196.google.com with SMTP id n21so4977893qtl.6 for ; Wed, 21 Nov 2018 10:56:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:organization:user-agent:mime-version :content-transfer-encoding; bh=rGO7rgJtbLIXb2SiL6JdRjv3nm9lxoiSmDGCFdiXhM8=; b=k1w2WKz+KOjTambiYzK8pyILjcRfl+H+bk6uMlM2NS4sf5l0XAxQ765j5Ne6fgZJ/b w5HhNaqFqcjf7F59NSuzRIH6zfUauE4c5fTq4fVLqHYzzQPVLsMNDXNbM2lDfYsaaN7z 0s0SXl9ssKT7dbM6abgV0eM+QPOv8OeR7RKNjWLgFV1rkMNKlld6AuUZ4r0mcpVp7TP8 wXs4bCGEKYqBWTdB0/kZggE/0SEsSD1+NCgc+WaKVjicXVSKWHQiCNLAkh6EY92RD9Dk p9XTN0dWxI5G3eZqNIYGQaw1hWvaj7foGkrQAO0TnnqWLjCd4Hh6Grrn2BES8lzRg9vi GDQw== X-Gm-Message-State: AGRZ1gIxJ/S4Z4toMCwHs24K4opf4m4zrGsU4i2XTgDri4QFCjxIcfkP dQWxzCMhpf24bebBISVxSUlkvg== X-Google-Smtp-Source: AJdET5e1zmGQAHZaKIaIoyXNl9r4eUa/jceyPmGodrlkZQDQykvnxzbHZw6sPfysRocT4ccE81e6Lg== X-Received: by 2002:aed:2f82:: with SMTP id m2mr7300202qtd.4.1542826587054; Wed, 21 Nov 2018 10:56:27 -0800 (PST) Received: from dhcp-10-20-1-11.bss.redhat.com ([144.121.20.162]) by smtp.gmail.com with ESMTPSA id z8sm17916795qto.45.2018.11.21.10.56.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Nov 2018 10:56:26 -0800 (PST) Message-ID: Subject: Re: [PATCH 6/9] drm: remove deprecated "drm_connector_[un]reference" functions From: Lyude Paul To: Fernando Ramos , dri-devel@lists.freedesktop.org Cc: Haneen Mohammed , Alexandre Belloni , Gilles Muller , Maxime Ripard , linux-kernel@vger.kernel.org, Gerd Hoffmann , cocci@systeme.lip6.fr, Marek Vasut , Jonathan Corbet , linux-doc@vger.kernel.org, Alexey Brodkin , David Airlie , Ludovic Desroches , Russell King , Nicolas Palix , etnaviv@lists.freedesktop.org, Boris Brezillon , virtualization@lists.linux-foundation.org, Sean Paul , linux-arm-kernel@lists.infradead.org, Michal Marek , Laurent Pinchart , Julia Lawall , Nicolas Ferre , linux-renesas-soc@vger.kernel.org, Kieran Bingham , Shawn Guo Date: Wed, 21 Nov 2018 13:56:24 -0500 In-Reply-To: <20181115221634.22715-7-greenfoo@gluegarage.com> References: <20181115221634.22715-1-greenfoo@gluegarage.com> <20181115221634.22715-7-greenfoo@gluegarage.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.2 (3.30.2-2.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Reviewed-by: Lyude Paul On Thu, 2018-11-15 at 23:16 +0100, Fernando Ramos wrote: > 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? -- Cheers, Lyude Paul