]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fa5f743171eeb3b3b46b22e677e043c1b93f166
tree7920c617f7a955f16668768d500df119877a7ee8
parent354b05f0c5845c6d100720d233304228465c5546
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