diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-23 17:04:50 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-30 23:18:41 -0500 |
commit | 911d8b3069ce87bcc874503d8f0b17b019e6e502 (patch) | |
tree | 610ebe117670eb432ee9d267202284c88b18094d /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 0f0727d971f6fdf8f1077180d495ddb9928f0c8b (diff) | |
download | linux-911d8b3069ce87bcc874503d8f0b17b019e6e502.tar.gz linux-911d8b3069ce87bcc874503d8f0b17b019e6e502.tar.bz2 linux-911d8b3069ce87bcc874503d8f0b17b019e6e502.zip |
drm/amdgpu: 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions