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. > > The exception is usb, which used a generic "USB". Not to harmful with > just one usb driver, but better to use "udl", too. > > With that converted we can rip out all the ->get_name implementations. > > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch> > --- > 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 <treding at nvidia.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140417/cac2cf8b/attachment.sig>