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@xxxxxxxx> > --- > 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@xxxxxxxxxx>
Attachment:
pgpUxglHpBRXk.pgp
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel