Validate the function pointers and clean up the unused or dummy functions. Sunil Khatri (13): drm/amdgpu: validate sw_init before function call drm/amdgpu: clean the dummy sw_init functions drm/amdgpu: validate sw_fini before function call drm/amdgpu: clean the dummy sw_fini functions drm/amdgpu: validate hw_fini before function call drm/amdgpu: validate suspend before function call drm/amdgpu: validate resume before function call drm/amdgpu: validate wait_for_idle before function call drm/amdgpu: clean the dummy resume functions drm/amdgpu: clean the dummy suspend functions drm/amdgpu: clean the dummy hw_fini functions drm/amdgpu: clean the dummy wait_for_idle functions drm/amdgpu: clean the dummy soft_reset functions drivers/gpu/drm/amd/amdgpu/aldebaran.c | 38 ++--- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 12 -- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 131 ++++++++++-------- drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | 34 ----- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 21 +-- drivers/gpu/drm/amd/amdgpu/cik.c | 30 +--- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 6 - drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 6 - drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 6 - drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 6 - drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 6 - drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 - drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 6 - drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 6 - drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 11 +- drivers/gpu/drm/amd/amdgpu/nv.c | 18 --- drivers/gpu/drm/amd/amdgpu/si.c | 37 ----- drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c | 43 +++--- drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c | 29 ++-- drivers/gpu/drm/amd/amdgpu/soc15.c | 12 -- drivers/gpu/drm/amd/amdgpu/soc21.c | 18 --- drivers/gpu/drm/amd/amdgpu/soc24.c | 18 --- drivers/gpu/drm/amd/amdgpu/vi.c | 18 --- drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 13 -- drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 6 - .../gpu/drm/amd/pm/powerplay/amd_powerplay.c | 12 -- 27 files changed, 150 insertions(+), 411 deletions(-) -- 2.34.1