From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH 16/18] drm: remove drm_bus->get_name Date: Thu, 17 Apr 2014 17:12:45 +0200 Message-ID: <20140417151243.GO550@ulmo> References: <1397252175-14227-1-git-send-email-daniel.vetter@ffwll.ch> <1397252175-14227-17-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1370315062==" Return-path: Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A3096EBA1 for ; Thu, 17 Apr 2014 08:13:54 -0700 (PDT) Received: by mail-ee0-f42.google.com with SMTP id d17so797140eek.1 for ; Thu, 17 Apr 2014 08:13:53 -0700 (PDT) In-Reply-To: <1397252175-14227-17-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter Cc: DRI Development List-Id: dri-devel@lists.freedesktop.org --===============1370315062== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c2gYorpyS4gG0T74" Content-Disposition: inline --c2gYorpyS4gG0T74 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 11, 2014 at 11:36:13PM +0200, Daniel Vetter wrote: > The only user is the info debugfs file, so we only need something > human readable. Now for both pci and platform devices we've used the > name of the underlying device driver, which matches the name of the > drm driver in all cases. So we can just use that instead. >=20 > The exception is usb, which used a generic "USB". Not to harmful with > just one usb driver, but better to use "udl", too. >=20 > With that converted we can rip out all the ->get_name implementations. >=20 > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_info.c | 6 ++---- > drivers/gpu/drm/drm_pci.c | 7 ------- > drivers/gpu/drm/drm_platform.c | 6 ------ > drivers/gpu/drm/drm_usb.c | 6 ------ > include/drm/drmP.h | 1 - > 5 files changed, 2 insertions(+), 24 deletions(-) Happy to see it gone: Reviewed-by: Thierry Reding --c2gYorpyS4gG0T74 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTT+9rAAoJEN0jrNd/PrOhpXQQAJkHikYUld2Wj7ndD2DjXOPo q9TWStbzZULFvOuhGuRe2U1ClHyG9lb06oujFWeBI7ZGJesF0eq/tDpKuxxvZArn EEcTqrUbl/3fX/Nx028COe5dXd5uGwuZ3RYR5cTUaeQ9itFf2zDJU5Bkp6/CXFdD t6Say6Pr8eRJSOLJfr4MQs7yKb42udqqGrZ4HBTdF6cex4crQPAWlR82asUoi3iS BL2NwyWMPqr3TsDHpytKsZjOUhSZ5RWm1YnGZW2AihSVg76yC/zFfwNT5/UzxHOY w6i8PMMBSyyAi4jIzXJVhBD2frRgCI7zkyF4afD0W+v4rVZdUkmTxrCwhNPt4YG9 PKSn4+ohkmlGxe07AWthGeEPL7nEGGUOX9gT07KwNzgjkJ0w0UqdkvyyiwtK3YEy BtskFlTcI/dnd5DtkPKJW2t0kRTwkInQ8VpDQHy0ZS9svb9lBlkJIxidixEnWaiO fceA+aVIXDPSXKgGg5EIEadrMU3G4novFRMDcAsZvBcldiX1Hutza9vsuYPh/koL rm26GyZTyqWTU6reNI42MVaNDXpr6vqqfextV5RC2lHzj7czEj84NRtPQSVpBvgs XuTQp4JaF3IzoZBGAqm43+kJ1KGgwudjyUpUqoLxqznMwCCDoF6ZxwitE+n8j3Ty aeJX+B+qd8IddPia93Cw =4pRm -----END PGP SIGNATURE----- --c2gYorpyS4gG0T74-- --===============1370315062== 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 --===============1370315062==--