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

ERROR: else should follow close brace '}'

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

index 7e140c35a0ced724097c0f26b880b21d0d8d98a8..5ca9ab8a76e85cf1790642cfb2d622ab414688ca 100644 (file)
@@ -197,8 +197,7 @@ static void dpp1_dscl_set_lb(
                        DITHER_EN, 0, /* Dithering enable: Disabled */
                        INTERLEAVE_EN, lb_params->interleave_en, /* Interleave source enable */
                        LB_DATA_FORMAT__ALPHA_EN, lb_params->alpha_en); /* Alpha enable */
-       }
-       else {
+       } else {
                /* DSCL caps: pixel data processed in float format */
                REG_SET_2(LB_DATA_FORMAT, 0,
                        INTERLEAVE_EN, lb_params->interleave_en, /* Interleave source enable */