Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 53cbf65c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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");