Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8600687imu; Thu, 15 Nov 2018 14:19:56 -0800 (PST) X-Google-Smtp-Source: AJdET5c19RQ5FSD3I6U4fHWHeW9kYsbUMvdZpss8mWz3jVRHbWZqixff1sP5+9oDcICmGw/bY8nN X-Received: by 2002:a63:f74f:: with SMTP id f15mr7615965pgk.190.1542320396371; Thu, 15 Nov 2018 14:19:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542320396; cv=none; d=google.com; s=arc-20160816; b=K0ZPrvCxupI5FUPRMY8GI7nLOxFznV9C/+hNjnC4EHNXj0hHiYPe5/RWW79imomaNl FSQzXblqUMgovmrALxE3g/8utp2zLaouVN7vs1Mtq/C5vTtUMHYr74K1zRrS4Eezm3wt qhk68GyxeE0aDoRaw5d4ogugyjCCbEBHiJzrQvfEMXUIu27WL2LDUmt+0b/9EGjT59us ttwxBFQlZVZoNXHxUKAlImG3lwxHjyWBEFrC7bEq+cieDjdJyeEeScQ+IFGo4SP9Mt95 9TPpFH/NQfuknJr021HnYEWIhuwrC4QK75gMB1XV8qjyeYusGLN82wmaADnQvWYuRsc2 AhvA== 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=zdDOHVhfX6venivR2p2CDNh26XuC0oKqDDvujWeSBsE=; b=PxToezj4sGKyp4qWzBc3I+q3xemfpcACUo49bK7nY2GN2DbfiX5vCMt35L/I3dS5vO K0h0S6KMooBpcDPGfTct5+z9yMAw9BpEs33eehPWcHH1u5HnTMb0NibA5BRlih9tOLL3 Ggqg2juYCYrLlwMzkWV5pFevlpfBtnYpdLnoq/Xo+GSPjMZ84E62kX/Wag4wzKzx3eXk QVfA87St+v8wPUJ3aFHca4koHjziy4gaVj1VHOdebhylV/DKpOnfA0FaRffPucbiy5NQ gg++T3a4w0bFlj3tBj+Lg69SZCdIg9zQLoe7c/0I+sfCaLwoZ5RsYlwCcyaROMjaeAGS EqBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b="g+rE4K/B"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=I7wjocss; 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 d9si14633105pgv.123.2018.11.15.14.19.42; Thu, 15 Nov 2018 14:19:56 -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="g+rE4K/B"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=I7wjocss; 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 S2389019AbeKPI1O (ORCPT + 99 others); Fri, 16 Nov 2018 03:27:14 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50719 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729045AbeKPI1N (ORCPT ); Fri, 16 Nov 2018 03:27:13 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A2A00218B7; Thu, 15 Nov 2018 17:17:31 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 15 Nov 2018 17:17:31 -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=zdDOHVhfX6 venivR2p2CDNh26XuC0oKqDDvujWeSBsE=; b=g+rE4K/BXgOol9G/uZxW9Qo1HX y4hvUA02Zwfrz4sA1My2UZWD8jDEWGGM6mdpZDOpXstt1oLeO1k8jp+F4HX+ymBJ QzM0GYMw9mFBstEfGt8ArysRZM0NPKQwRStvtTMSqv9IE0OYQ7u/nsgglzjnaQq3 0rHudiPvY4RcjRkJI= 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=zdDOHVhfX6venivR2p2CDNh26XuC0oKqDDvujWeSBsE=; b=I7wjocss bAZdnzHiBV+UbJ2Y3O6B3KLLJlMGc8r68+wmEbznrTICMQm93+FB+d4lUl+DVamM Yz0POJaDnsgODtCPJ8Rcn17q1l/TQAu2GCFy8k42SdrAU8eTd0XeW3sjuIV2YcnP yJBgJsL7TqAo0WIRS2u+oxNiUzc6IMaNaZ3UXApK2Og+lgHxrNsjXbLSgdulorFK mz3QZSqqMQ42RRLzhbxdqcyk2ulfVFajMN+0HfXkJ6+qXWbBHlwK9ey3Fkh4bLsW Mbp1EUWVeJTOmh29tPrN1zyUzTkrzGksThBQSAicdQFETvyQRseoY4HbiYCFMQoy 1oYuWopIK9NYkg== X-ME-Sender: X-ME-Proxy: Received: from zaca_x230.localdomain (unknown [109.205.143.80]) by mail.messagingengine.com (Postfix) with ESMTPA id 49BC2E4307; Thu, 15 Nov 2018 17:17:27 -0500 (EST) From: Fernando Ramos To: dri-devel@lists.freedesktop.org Cc: David Airlie , Maarten Lankhorst , Maxime Ripard , Sean Paul , 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 4/9] drm: remove deprecated "drm_dev_unref" function Date: Thu, 15 Nov 2018 23:16:24 +0100 Message-Id: <20181115221634.22715-5-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 --- drivers/gpu/drm/drm_drv.c | 13 ------------- include/drm/drm_drv.h | 1 - 2 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 36e8e9cbec52..22c8f8252207 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -706,19 +706,6 @@ void drm_dev_put(struct drm_device *dev) } EXPORT_SYMBOL(drm_dev_put); -/** - * drm_dev_unref - Drop reference of a DRM device - * @dev: device to drop reference of or NULL - * - * This is a compatibility alias for drm_dev_put() and should not be used by new - * code. - */ -void drm_dev_unref(struct drm_device *dev) -{ - drm_dev_put(dev); -} -EXPORT_SYMBOL(drm_dev_unref); - static int create_compat_control_link(struct drm_device *dev) { struct drm_minor *minor; diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index 3199ef70c007..abac47c10f1d 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h @@ -621,7 +621,6 @@ void drm_dev_unregister(struct drm_device *dev); void drm_dev_get(struct drm_device *dev); void drm_dev_put(struct drm_device *dev); -void drm_dev_unref(struct drm_device *dev); void drm_put_dev(struct drm_device *dev); bool drm_dev_enter(struct drm_device *dev, int *idx); void drm_dev_exit(int idx); -- 2.19.1