]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: remove drm_bus->get_name
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 3 Nov 2013 21:24:37 +0000 (22:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Apr 2014 08:32:53 +0000 (10:32 +0200)
commit9de1b51f1fae6476155350a0670dc637c762e718
treeda8efba2fe0c63586aa3e789179f75cdbcbd44e4
parent5829d1834e5486e83547f36576b160023c9609c2
drm: remove drm_bus->get_name

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.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_info.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_platform.c
drivers/gpu/drm/drm_usb.c
include/drm/drmP.h