Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8600054imu; Thu, 15 Nov 2018 14:19:13 -0800 (PST) X-Google-Smtp-Source: AJdET5e09g6MhUotQxfrsfns5X3JM1Ocmlx3xvCWedd1h11dnsRDuHAg7vdQZInb/b/JrjKbSB48 X-Received: by 2002:a63:2d46:: with SMTP id t67mr7675294pgt.140.1542320353223; Thu, 15 Nov 2018 14:19:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542320353; cv=none; d=google.com; s=arc-20160816; b=tcOJHq4W0KhIx1dPOL3I0+o8xn8EtLt0jaxPYW2icV14mlkbOQPspojto4TxOW2TYq XaNzxXgnttYtzfmV2UOtvQdZTDzHii6sETjosD+96wx1PVFbToaJulZWZwkuilf/230e lg+20Ftde+yE1XMVtdL3/AahcbS3+IZlKigpsqHWBxV479wadYIdZV5xAs0oghPgegqA 8yngiUD36w1D9Neo1cNUCj9DFhifyWW2EoLVhiQkLcwdBp634FclkjDEoAJzo4na/kiu Lt+DX2JqT/Zh+iGTJHF70OcoaqRsZA8qANipgO88l/kDCoHfVEe26m2M/78rHxkjOn7Z SLvw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=2/uzg/+g2ERl1jwIMfVlU9Oj+/gZ2XmjxYZKfBKhe1o=; b=sbV92olgu/GNN62GujKKYukxazInuzGHz3FDEzoug1R8LsuSCHnhPkuJKrpYd8qggt umyvTufUTWeQ/TzCPF8Y4TOV2z84ZX/cmVMy62berCXo+1WjWOGXiiqKTPBQAYyS0kR1 9Kna4LVe5l1xQg9hvd7nJOsLI321NT88ixPLiI6+f/6Rm5khtWCVSFYze7hj/mPItTNQ eiiRVg5pCIzjVmzRAjXjodrHz93smORnkfCiLLlTcF7ioNE0Xh3dlO9UNjF1C2PPKBKV u8jYPHy7bKI3GC5n8bNZHcjRnXwo1l72/+9gPOTIJu9EYnmV763jZr60k2ixtp6qKv7t tkXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=Ob43s0UP; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=emwCZkJe; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2-v6si7347878pfb.245.2018.11.15.14.18.58; Thu, 15 Nov 2018 14:19:13 -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; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=Ob43s0UP; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=emwCZkJe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389071AbeKPI1c (ORCPT + 99 others); Fri, 16 Nov 2018 03:27:32 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44359 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbeKPI1b (ORCPT ); Fri, 16 Nov 2018 03:27:31 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 61CE72218B; Thu, 15 Nov 2018 17:17:50 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 15 Nov 2018 17:17:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gluegarage.com; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=2/uzg/+g2E Rl1jwIMfVlU9Oj+/gZ2XmjxYZKfBKhe1o=; b=Ob43s0UPCDjDz9NAH3GAcQocG+ 5ACEMwhig1K+UsL7+c9KZvuRDJgWNCr5Y1sKWOT4Mi7zPF49y/R/uFwRxJ+mJg0w 3Vj+aW9HDUQpEh7jigpk5Sk5GLILfAwYpH1D7tUsrCby/ynVGXJS/ZsqatGjrFHk 0GSM1LOfcwqBxXfRU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=2/uzg/+g2ERl1jwIMfVlU9Oj+/gZ2XmjxYZKfBKhe1o=; b=emwCZkJe kqTrD4aNPEr93s/qe5REHBuJborXcVEDETZVo8UMtR5axOcFw8E7WusH5AFDxkf/ mUNPHu/PM8LAPoOMSNPX8py1LI3kNRf1+psopBID+2ZNb/yGGAOqyJaRLwpE4Q2u wcAzAOqMMiLz8Tykd3zsZnc04rGK9wlSTY4SDI7//4ckxEB5aSJN2UXoAhFfvq+r JqTpBHVUavodIiXZcaQEGCGDj+kxsKpqGvww/hRN5tniBS1+iTGTktsZBuAjZUdP 74PoIDhaylWc5cYCLJBBQUz2P8EhhJpms/IMnNmfiO9WiY9cqlwwOx6LB4v5LVfU 27Aujl987v08CA== X-ME-Sender: X-ME-Proxy: Received: from zaca_x230.localdomain (unknown [109.205.143.80]) by mail.messagingengine.com (Postfix) with ESMTPA id C1A0AE46B7; Thu, 15 Nov 2018 17:17:45 -0500 (EST) From: Fernando Ramos 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 Agner , Kieran Bingham , Linus Walleij , Shawn Guo , Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , Haneen Mohammed , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, virtualization@lists.linux-foundation.org, etnaviv@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, cocci@systeme.lip6.fr 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> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115221634.22715-1-greenfoo@gluegarage.com> References: <20181115221634.22715-1-greenfoo@gluegarage.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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