mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-11 11:05:06 +07:00
drm/amd/display: Simplify dm_late_init()
Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Acked-by: Andrey Grodzovsky <andey.grodzovsky@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
299f27fd37
commit
33be278547
@ -538,9 +538,8 @@ static int detect_mst_link_for_all_connectors(struct drm_device *dev)
|
||||
static int dm_late_init(void *handle)
|
||||
{
|
||||
struct drm_device *dev = ((struct amdgpu_device *)handle)->ddev;
|
||||
int r = detect_mst_link_for_all_connectors(dev);
|
||||
|
||||
return r;
|
||||
return detect_mst_link_for_all_connectors(dev);
|
||||
}
|
||||
|
||||
static void s3_handle_mst(struct drm_device *dev, bool suspend)
|
||||
|
Loading…
Reference in New Issue
Block a user