Commit 8440c304 authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/amd/display: Fix brace style in amdgpu_dm_initialize_drm_device()

Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Acked-by: default avatarAndrey Grodzovsky  <andey.grodzovsky@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 53cbf65c
...@@ -1412,9 +1412,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev) ...@@ -1412,9 +1412,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
goto fail_free_planes; goto fail_free_planes;
aencoder = kzalloc(sizeof(*aencoder), GFP_KERNEL); aencoder = kzalloc(sizeof(*aencoder), GFP_KERNEL);
if (!aencoder) { if (!aencoder)
goto fail_free_connector; goto fail_free_connector;
}
if (amdgpu_dm_encoder_init(dm->ddev, aencoder, i)) { if (amdgpu_dm_encoder_init(dm->ddev, aencoder, i)) {
DRM_ERROR("KMS: Failed to initialize encoder\n"); DRM_ERROR("KMS: Failed to initialize encoder\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment