Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2564261imu; Wed, 21 Nov 2018 13:45:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/UE5gFramk6Y5sOsV+K1cLY6RaAX5Im6HHf/voRQ442nRi2jVB2Ph4Ke5G54vOxTsO+/MbI X-Received: by 2002:a63:eb0e:: with SMTP id t14mr7583096pgh.445.1542836710924; Wed, 21 Nov 2018 13:45:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542836710; cv=none; d=google.com; s=arc-20160816; b=OMX+6OdfKV6cpgDui/LI3dmZposcF0yxhqn7xh+U2IZMEMHcVicrGeUcfYfMU1rH90 9rTkkhqItoznyY5YA+D/nG4mxto1r1n0oWQ771yKIAvl9i+eHD9nEY0xj2TjNCiZOiWv +H+c+5R9w+MkOcOmeMV1U6vwy6hdhO/8ZQCRLU9H3vF/IsHsXkIx2VCWU/0LBpfyko/O YcZbMP9SSLLafO3gqxQubI9GtCgE0+oP1icazMlIIvGozlM9AtdcpsD1imLKAUjtXqd2 GQBA6KYhmE2JbeWiDBPQ9V97AI+iv5oaiDVLo5p+R0LWUFlympQOtzg+iXESbUmNhVxK VglQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=rGO7rgJtbLIXb2SiL6JdRjv3nm9lxoiSmDGCFdiXhM8=; b=VRj4r6kQqAR6DKHGNFgJzJ8GP6QWuQThCn+1Po6sI6/LsDCFiRz13dp7XN1Q+mDUCG GJiPlkKu1EfpYsukb9q56iOAGJzTc66DxOU5Il6+Rxo6mvNO/v3sjyaytAUKVgmJyA6b nxBlCDZ3wMXedOeVCwq3kH944gMFN+MWX7n761mVUaUMBnZMWh1AxyO5ACDw3XGS46zG YijNE37r8eTCapNzpvCYBfGws4/MQRhQ+YadT9CKgHWDXw5ROvNqslotq2w9s2jVjANB dN7G+ZW5r1mTZg+jDqjS/plcgCt5KFbXovNeCrk49yJ40pMz3coQS+BViHT5t7VtBH7a HC2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m15si19713324pgc.381.2018.11.21.13.44.54; Wed, 21 Nov 2018 13:45:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731614AbeKVFcA (ORCPT + 99 others); Thu, 22 Nov 2018 00:32:00 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:40485 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731565AbeKVFcA (ORCPT ); Thu, 22 Nov 2018 00:32:00 -0500 Received: by mail-qt1-f193.google.com with SMTP id k12so4984133qtf.7 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=M8CTNuZ56I4VeaAK4F1cfcQEFFW0c0u+pLcJxPS4kTJu9J0v04DqXRS+yRhzfdIkBr VbNjmWRlVuHNKAEprscvV0H/XSrO1U+he9BNBqFt/fNH4kxg34tCJOsrtNIGpFCQ8JLJ xv9y4s4l1AeGLqQ6JCGyTluJkVeDdVfDqcJyouql9+pwVrDlkfoWdF7BwXrpQAKMVlJw GM7XCGj8JW3d9jMDqVdVN/8IT54qyqOUIg2hItJKjtjG4fJHA+EaSXEuu1/hzsuf1aIB rBTmJiHXNH1p5lxfDj7Y2wizdpThO/FjpwSC3Po7W9Jj2PZ/0QKhP/YZ9ktSzviBHMCO zx+Q== X-Gm-Message-State: AGRZ1gINQoO174se1BXL/9WZXPUPUPiSISIsjwvekk6Iw1r8Si4G9mLR 4c3fXjIWBWswnSiotHv4RhNEMw== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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