mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/amd/display: Change amdgpu_dm_irq_suspend() to void
amdgpu_dm_irq_suspend() doesn't have any error flows and always returns zero. Change the function to void. Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c286e8501a
commit
20ea047768
@@ -473,7 +473,7 @@ void amdgpu_dm_irq_fini(struct amdgpu_device *adev)
|
||||
unregister_all_irq_handlers(adev);
|
||||
}
|
||||
|
||||
int amdgpu_dm_irq_suspend(struct amdgpu_device *adev)
|
||||
void amdgpu_dm_irq_suspend(struct amdgpu_device *adev)
|
||||
{
|
||||
int src;
|
||||
struct list_head *hnd_list_h;
|
||||
@@ -511,7 +511,6 @@ int amdgpu_dm_irq_suspend(struct amdgpu_device *adev)
|
||||
}
|
||||
|
||||
DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int amdgpu_dm_irq_resume_early(struct amdgpu_device *adev)
|
||||
|
||||
@@ -90,7 +90,7 @@ void amdgpu_dm_hpd_fini(struct amdgpu_device *adev);
|
||||
* amdgpu_dm_irq_suspend - disable ASIC interrupt during suspend.
|
||||
*
|
||||
*/
|
||||
int amdgpu_dm_irq_suspend(struct amdgpu_device *adev);
|
||||
void amdgpu_dm_irq_suspend(struct amdgpu_device *adev);
|
||||
|
||||
/**
|
||||
* amdgpu_dm_irq_resume_early - enable HPDRX ASIC interrupts during resume.
|
||||
|
||||
Reference in New Issue
Block a user