summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mga/mga_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/mga/mga_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/mga/mga_drv.c')
-rw-r--r--drivers/gpu/drm/mga/mga_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mga/mga_drv.c b/drivers/gpu/drm/mga/mga_drv.c
index 63ba0699d107..2a36ec611a44 100644
--- a/drivers/gpu/drm/mga/mga_drv.c
+++ b/drivers/gpu/drm/mga/mga_drv.c
@@ -62,7 +62,6 @@ static struct drm_driver driver = {
.load = mga_driver_load,
.unload = mga_driver_unload,
.lastclose = mga_driver_lastclose,
- .set_busid = drm_pci_set_busid,
.dma_quiescent = mga_driver_dma_quiescent,
.get_vblank_counter = mga_get_vblank_counter,
.enable_vblank = mga_enable_vblank,