OSDN Git Service

drm/amdgpu: call pci_[un]register_driver() directly
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Jun 2017 20:52:08 +0000 (16:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Jun 2017 14:54:38 +0000 (10:54 -0400)
commit3c50c2873283290d06af38a208c25f6434cf0a77
tree7920c617f7a955f16668768d500df119877a7ee8
parent2b059658d6796a096ef06be9da994d6c44401d5b
drm/amdgpu: call pci_[un]register_driver() directly

Rather than calling the deprecated drm_pci_init() and
drm_pci_exit() which just wrapped the pci functions
anyway.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c