drm/amdgpu: Clean up errors in vega20_ih.c
authorRan Sun <sunran001@208suo.com>
Wed, 2 Aug 2023 06:46:06 +0000 (06:46 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:43:20 +0000 (09:43 -0400)
Fix the following errors reported by checkpatch:

ERROR: trailing statements should be on next line
ERROR: that open brace { should be on the previous line

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vega20_ih.c

index 544ee55a22da662b17b53b49ecee926f41d5f71f..dbc99536440f2f9d610ace47e30bcdd437b0478d 100644 (file)
@@ -500,7 +500,8 @@ static int vega20_ih_self_irq(struct amdgpu_device *adev,
        case 2:
                schedule_work(&adev->irq.ih2_work);
                break;
-       default: break;
+       default:
+               break;
        }
        return 0;
 }
@@ -710,8 +711,7 @@ static void vega20_ih_set_interrupt_funcs(struct amdgpu_device *adev)
        adev->irq.ih_funcs = &vega20_ih_funcs;
 }
 
-const struct amdgpu_ip_block_version vega20_ih_ip_block =
-{
+const struct amdgpu_ip_block_version vega20_ih_ip_block = {
        .type = AMD_IP_BLOCK_TYPE_IH,
        .major = 4,
        .minor = 2,