mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: Fix brace style in amdgpu_dm_initialize_drm_device()
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
53cbf65c14
commit
8440c30463
|
@ -1412,9 +1412,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
|
|||
goto fail_free_planes;
|
||||
|
||||
aencoder = kzalloc(sizeof(*aencoder), GFP_KERNEL);
|
||||
if (!aencoder) {
|
||||
if (!aencoder)
|
||||
goto fail_free_connector;
|
||||
}
|
||||
|
||||
if (amdgpu_dm_encoder_init(dm->ddev, aencoder, i)) {
|
||||
DRM_ERROR("KMS: Failed to initialize encoder\n");
|
||||
|
|
Loading…
Reference in New Issue