mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
drm/amd/display: Change amdgpu_dm_irq_resume_*() to void
amdgpu_dm_irq_resume_early() and amdgpu_dm_irq_resume_late() don't have any error flows. Change the return type from integer 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:
parent
c2bd614bf8
commit
7b3e14acc1
|
|
@ -513,7 +513,7 @@ void amdgpu_dm_irq_suspend(struct amdgpu_device *adev)
|
|||
DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
|
||||
}
|
||||
|
||||
int amdgpu_dm_irq_resume_early(struct amdgpu_device *adev)
|
||||
void amdgpu_dm_irq_resume_early(struct amdgpu_device *adev)
|
||||
{
|
||||
int src;
|
||||
struct list_head *hnd_list_h, *hnd_list_l;
|
||||
|
|
@ -532,11 +532,9 @@ int amdgpu_dm_irq_resume_early(struct amdgpu_device *adev)
|
|||
}
|
||||
|
||||
DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int amdgpu_dm_irq_resume_late(struct amdgpu_device *adev)
|
||||
void amdgpu_dm_irq_resume_late(struct amdgpu_device *adev)
|
||||
{
|
||||
int src;
|
||||
struct list_head *hnd_list_h, *hnd_list_l;
|
||||
|
|
@ -558,7 +556,6 @@ int amdgpu_dm_irq_resume_late(struct amdgpu_device *adev)
|
|||
}
|
||||
|
||||
DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ void amdgpu_dm_irq_suspend(struct amdgpu_device *adev);
|
|||
* amdgpu_dm_irq_resume - enable ASIC interrupt during resume.
|
||||
*
|
||||
*/
|
||||
int amdgpu_dm_irq_resume_early(struct amdgpu_device *adev);
|
||||
int amdgpu_dm_irq_resume_late(struct amdgpu_device *adev);
|
||||
void amdgpu_dm_irq_resume_early(struct amdgpu_device *adev);
|
||||
void amdgpu_dm_irq_resume_late(struct amdgpu_device *adev);
|
||||
|
||||
#endif /* __AMDGPU_DM_IRQ_H__ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user