Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8600076imu; Thu, 15 Nov 2018 14:19:14 -0800 (PST) X-Google-Smtp-Source: AJdET5dxEDsEf/hM5FCue4BZpYlKbaeusPtOW7QlFOo6UnJ4I7WrSjiKyZf50THH0lN88gQQdqsh X-Received: by 2002:a65:65c9:: with SMTP id y9mr7683989pgv.438.1542320354926; Thu, 15 Nov 2018 14:19:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542320354; cv=none; d=google.com; s=arc-20160816; b=h96LkW4JiAtNmnPL8hrjwAOfaLYoOwsSz4o3ECxni8XMHTPTqfmF5Xg3XvyuzORvGS K8PdMVMVaUSPcQotcPg0iI9AzPY7JWyrLIw9oporMi1WPXdQDDxZs45O4saSmR2aImOw L2Lbufk4ZzHNnO3iYK4kXKs07itDYptGWYM4/EyeCgGoakPaHrnlcSAkdo+Okjvsd+zW syeLO2NpDjiX0w6J0GpMU2xE6SZzL10Xl3RiU4uTlvr97fSWl2UHxnAHlrMYzQmT/qwm uibO3bpNHdB3aPDJu1kybagfGCvYnTOdeGVu/jbgDE7duduNA2UWNMva/HGmnNXvPiVt Sd7Q== 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=O7SXFI/SrJ2csaFotIRya4mQd9lIpwVcLKNVpq45uic=; b=yJkvAW8mnVVBx/LMtc7cJridC3pTc5LTFw2UbafzWDx+rJP0k5nr5zjZ+EQJH60K3h cwRkn0kyDKgZ7U9wbMSaXXAOxIXpxl0qPYFAskXTzaD1OiSRJwcQ0iY8j5JVXd9/TWil mZZPkCUly6KUfjTCb6yfRqLc52sFQamz2jAW9lX59ULH676p5LIfSJkhPZAcfCyoh0EI acpymtXZKJN7v1l5+GpOBXznJ/3FhNGfonUY9BRFbL1SGnEZHXVsYp/R3sZzXvtMBnS6 SsxbCDiZ9W5XkWpHTSv0WLDGxxQ8OQNYNKS4o6emSp8kE4UhhJANU42CW5sKGgxyubuk BhQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=VvU1lSVH; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=de1dbJyw; 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 n78si8986617pfi.235.2018.11.15.14.19.00; Thu, 15 Nov 2018 14:19:14 -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=VvU1lSVH; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=de1dbJyw; 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 S2389095AbeKPI1l (ORCPT + 99 others); Fri, 16 Nov 2018 03:27:41 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49331 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbeKPI1l (ORCPT ); Fri, 16 Nov 2018 03:27:41 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6F946222AF; Thu, 15 Nov 2018 17:17:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 15 Nov 2018 17:17:59 -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=O7SXFI/SrJ 2csaFotIRya4mQd9lIpwVcLKNVpq45uic=; b=VvU1lSVHvJmGU1bWvmGJ0wEe7V anF5qf1wWfrI9lG7oevEd7qUkaJ757T/iIp1ZcuiXGKiCxG9gUpPjJPM5JfD+zi9 ReT8BCglomXnzlhvuW0eFiZPY9GJ4rx0BUKEQb5S1RoleQYTz46ankxqQkvKC7R2 L4SiQ+qhu1k6wkicg= 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=O7SXFI/SrJ2csaFotIRya4mQd9lIpwVcLKNVpq45uic=; b=de1dbJyw nrXu93soawWbLZXSdCkJaPgK9VbzfcRwLUac/nlI41aUG7mpH3ceiejqAu7gTqDm oiizPnMdqKS7rSdmalcTHj5qsZcV5zhkX8PcRajfOQPMfFs6agB/M1NlWSQscngi gziK+3McYDGOO+dnMa8+My9EjADmXlABax37XfUrg5zIhIEtEqhf3Q7SgEmQKzWu N/+THSk20v5wsWYELLCnBXDMwRwlb4v67tEZ6ffuonD6Ll5tOZXX2YEFyQcNeVZv /mrxtlrnLwgwH8U2gV4xSIsFLRbqjg5OJzxWmSmd2+vCy4fdpyxiArvkby4G9g1X iVr1fKegdkA0MQ== X-ME-Sender: X-ME-Proxy: Received: from zaca_x230.localdomain (unknown [109.205.143.80]) by mail.messagingengine.com (Postfix) with ESMTPA id 91A05E469E; Thu, 15 Nov 2018 17:17:54 -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 7/9] drm: remove deprecated "drm_framebuffer_[un]reference" functions Date: Thu, 15 Nov 2018 23:16:27 +0100 Message-Id: <20181115221634.22715-8-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_framebuffer.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/drm/drm_framebuffer.h b/include/drm/drm_framebuffer.h index c50502c656e5..c94acedfb08e 100644 --- a/include/drm/drm_framebuffer.h +++ b/include/drm/drm_framebuffer.h @@ -240,30 +240,6 @@ static inline void drm_framebuffer_put(struct drm_framebuffer *fb) drm_mode_object_put(&fb->base); } -/** - * drm_framebuffer_reference - acquire a framebuffer reference - * @fb: DRM framebuffer - * - * This is a compatibility alias for drm_framebuffer_get() and should not be - * used by new code. - */ -static inline void drm_framebuffer_reference(struct drm_framebuffer *fb) -{ - drm_framebuffer_get(fb); -} - -/** - * drm_framebuffer_unreference - release a framebuffer reference - * @fb: DRM framebuffer - * - * This is a compatibility alias for drm_framebuffer_put() and should not be - * used by new code. - */ -static inline void drm_framebuffer_unreference(struct drm_framebuffer *fb) -{ - drm_framebuffer_put(fb); -} - /** * drm_framebuffer_read_refcount - read the framebuffer reference count. * @fb: framebuffer -- 2.19.1