From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH 09/13] drm: rename drm_unplug/get_minor() to drm_minor_register/unregister() Date: Fri, 21 Feb 2014 08:21:53 +0100 Message-ID: <20140221072152.GC22574@ulmo.nvidia.com> References: <1391004120-687-1-git-send-email-dh.herrmann@gmail.com> <1391004120-687-10-git-send-email-dh.herrmann@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0206266899==" Return-path: Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) by gabe.freedesktop.org (Postfix) with ESMTP id F19ADFA5DF for ; Thu, 20 Feb 2014 23:21:56 -0800 (PST) Received: by mail-bk0-f49.google.com with SMTP id na10so90399bkb.8 for ; Thu, 20 Feb 2014 23:21:55 -0800 (PST) In-Reply-To: <1391004120-687-10-git-send-email-dh.herrmann@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: David Herrmann Cc: Daniel Vetter , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0206266899== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XMCwj5IQnwKtuyBG" Content-Disposition: inline --XMCwj5IQnwKtuyBG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 29, 2014 at 03:01:56PM +0100, David Herrmann wrote: > drm_get_minor() no longer allocates objects, and drm_unplug_minor() is now > the exact reverse of it. Rename it to _register/unregister() so their > name actually says what they do. >=20 > Furthermore, remove the direct minor-ptr and instead pass the minor-type. > This way we know the actualy slot of the minor and can reset it if Nit: "actualy" -> "actual". Thierry --XMCwj5IQnwKtuyBG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTBv6QAAoJEN0jrNd/PrOhoCoP/Rt+T/gjaIl4Z1zPixal9fmJ sj9VfHqLFqunLvE5dDOnGMp3jdJ7xRf0sJJLGZyMoeBdllrhT3aBVtRSrLESmfCw t7sOdOIcMJZsvnRa389iTKpa2gGXjPZk3mxWPGNfsHOVUqgqNcTxLwUYW1o6XQsW 9x+mr+lZjfq5H51zHIC5sHIX9V8WEodc0T4ZKOTTEZ3iTLIH5MpR2xVOIzMdTatt OwtNea5zM5GZCloQ8P/zcJ94aimLz6kANlyQLG3gfWhj+8pab/oOq7wtitMAEJ3d DICZ8K76M0iWW4y3mzKb1lzHxRehCB8px63UpwctKBEUfQ1PJnE4RWUg0jjROCkz e8a9rCQMs2qbKgQqjYbnRDqIZyO9QR4GJ9lrfAwzIQ6WsgsMtsxWCr45Pj3ddAh9 ZejHmwgRaRbqhpVBYCj1lK/g8OQ1NyTDruZXBuMDbMVJYLwaOyFM/xhyxsaH6Xro MZlYzFzpiyyX1Xva8a9lGhT0S7/wocFEwYtUAFnPlwstKaW8bLLfKKqLE6ksxyQX pT32ky33uhaLgE0HRF4ahZZxGHMudBpMNmBTjO6JEqQxTKqrAbeV9nVMgZETNH43 ekFbqXwJEVOZa+7WFM5bbi4eKSnQwxhmMIU/WlIjDicq1MphDgvPPDw3/pjsdNgt 6lhni3e2wPMx/wTy0PM/ =jB9H -----END PGP SIGNATURE----- --XMCwj5IQnwKtuyBG-- --===============0206266899== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0206266899==--