Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752349AbdHQPdk (ORCPT ); Thu, 17 Aug 2017 11:33:40 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35939 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbdHQPdi (ORCPT ); Thu, 17 Aug 2017 11:33:38 -0400 Date: Thu, 17 Aug 2017 17:33:35 +0200 From: Thierry Reding To: Cihangir Akturk Cc: daniel@ffwll.ch, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: Re: [PATCH v3 21/28] drm/tegra: switch to drm_*_get(), drm_*_put() helpers Message-ID: <20170817153335.GF30664@ulmo> References: <1502454794-28558-1-git-send-email-cakturk@gmail.com> <1502454794-28558-22-git-send-email-cakturk@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lIrNkN/7tmsD/ALM" Content-Disposition: inline In-Reply-To: <1502454794-28558-22-git-send-email-cakturk@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1824 Lines: 49 --lIrNkN/7tmsD/ALM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 11, 2017 at 03:33:07PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. >=20 > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and should not be > used by new code. So convert all users of compatibility functions to > use the new APIs. >=20 > Generated by: scripts/coccinelle/api/drm-get-put.cocci >=20 > Signed-off-by: Cihangir Akturk > --- > drivers/gpu/drm/tegra/drm.c | 12 ++++++------ > drivers/gpu/drm/tegra/fb.c | 8 ++++---- > drivers/gpu/drm/tegra/gem.c | 10 +++++----- > 3 files changed, 15 insertions(+), 15 deletions(-) Applied, thanks. Thierry --lIrNkN/7tmsD/ALM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlmVt08ACgkQ3SOs138+ s6E6kA//VSpSqty8V8aK65N6KhddiCGxCtBEehCqcsWh6wXyrXyd50+FHILUqQbI GY0Ey6rJ0L1zET/w4xKle6YW2Ca7oaNKQi3MruU/x03rshKtRMN7p3UfHnszmQsu K8ttqGFNjqNIisEY6EgAgPDR9Q3YnckAZYiCt9MCVCuEKyNyMVvobYU0TGX1zj4N v0c2fvxZLMTkEpTIm1XjOl9DU+JJymEkT//7kamfJlIOq2uPSLFIuEk0Qi3NoImJ dxKySvQQq/SDhK367HQSqVzEq9j3DZRHDTUj7/TjD07aXzvK65IVuWN/6D06PQrA 1i0T6ehvQ7E/WexJo/VyCGs3lrm1KsAKLd0W+hTbqMOaUlSVrs58f6XqFgKMSVdF 66qIEHYhhYGZbe1fAyS7JTyFhMcHbSf71B3ozOdcTwPtIEjX7xgJSNxOwg4Tp5vi QY6pRlSQA0e3zb6FWjIedfs9NkMtMOTQCDInjoeZdMFQD7DgOPpB6Xb6b2pKfpiw gLSwkjMvITi8/fSc3xZxkSCHom68xk9nuUdC4r7vEZsDbXAaX1PCB72YuN0ZC4DJ uztHK2onacU1r5Y3Sc+2p+DUR6rnYJZgnZi1XS299tbwgl9wKf7VtidrYDGAbFH5 dMqNSXHP0SvXKIXlCzLgd36bt5deKv0cWs+dw/m3QxqXhKRQkAQ= =Is46 -----END PGP SIGNATURE----- --lIrNkN/7tmsD/ALM--