diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-24 17:51:39 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-06-20 11:40:49 +0300 |
commit | 5c484cee7ef9c4fd29fa0ba09640d55960977145 (patch) | |
tree | be51a761aab78f62712edba999a80599c8482595 /drivers/gpu/drm/tdfx/tdfx_drv.c | |
parent | 76bba2cdb56d2a55c0dd4c3432221881d8c9adcc (diff) | |
download | linux-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.c | 1 |
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, |