drm/radeon: Use dev_get_drvdata where possible
authorChuhong Yuan <hslester96@gmail.com>
Tue, 23 Jul 2019 11:10:08 +0000 (19:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:18:50 +0000 (23:18 -0500)
commit59d788b18771f5f0f198e8da3cd4f38dfbfa64ba
tree502293c34a2e9e4ef0ccd273774387fb506cff02
parentef1de3618125e4a4d6511553f8b527f58829a8e6
drm/radeon: Use dev_get_drvdata where possible

Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_drv.c