summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tdfx/tdfx_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-24 17:51:39 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-20 11:40:49 +0300
commit5c484cee7ef9c4fd29fa0ba09640d55960977145 (patch)
treebe51a761aab78f62712edba999a80599c8482595 /drivers/gpu/drm/tdfx/tdfx_drv.c
parent76bba2cdb56d2a55c0dd4c3432221881d8c9adcc (diff)
downloadlinux-5c484cee7ef9c4fd29fa0ba09640d55960977145.tar.xz
drm: Remove drm_driver->set_busid hook
The only special-case is pci devices, and we can easily handle this in the core. Do so and drop a pile of boilerplate from drivers. Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-5-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/tdfx/tdfx_drv.c')
-rw-r--r--drivers/gpu/drm/tdfx/tdfx_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.c b/drivers/gpu/drm/tdfx/tdfx_drv.c
index c54138c3a376..acd5f8162bb6 100644
--- a/drivers/gpu/drm/tdfx/tdfx_drv.c
+++ b/drivers/gpu/drm/tdfx/tdfx_drv.c
@@ -55,7 +55,6 @@ static const struct file_operations tdfx_driver_fops = {
static struct drm_driver driver = {
.driver_features = DRIVER_LEGACY,
- .set_busid = drm_pci_set_busid,
.fops = &tdfx_driver_fops,
.name = DRIVER_NAME,
.desc = DRIVER_DESC,