drm/amd/display: clean up some inconsistent indentings
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 15 Sep 2022 01:58:00 +0000 (09:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:08:00 +0000 (15:08 -0400)
clean up some inconsistent indentings

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2180
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c

index 1bbc0bdf5dc330c66097cb7aa0967a35359b2425..355b4b1d6628641cfc9a39e10e7f0ccccec0b4dc 100644 (file)
@@ -820,11 +820,11 @@ static struct dce_i2c_hw *dcn321_i2c_hw_create(
 
 #undef REG_STRUCT
 #define REG_STRUCT i2c_hw_regs
-               i2c_inst_regs_init(1),
-               i2c_inst_regs_init(2),
-               i2c_inst_regs_init(3),
-               i2c_inst_regs_init(4),
-               i2c_inst_regs_init(5);
+       i2c_inst_regs_init(1),
+       i2c_inst_regs_init(2),
+       i2c_inst_regs_init(3),
+       i2c_inst_regs_init(4),
+       i2c_inst_regs_init(5);
 
        dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst,
                                    &i2c_hw_regs[inst], &i2c_shifts, &i2c_masks);
@@ -922,10 +922,10 @@ static struct hubp *dcn321_hubp_create(
 
 #undef REG_STRUCT
 #define REG_STRUCT hubp_regs
-               hubp_regs_init(0),
-               hubp_regs_init(1),
-               hubp_regs_init(2),
-               hubp_regs_init(3);
+       hubp_regs_init(0),
+       hubp_regs_init(1),
+       hubp_regs_init(2),
+       hubp_regs_init(3);
 
        if (hubp32_construct(hubp2, ctx, inst,
                        &hubp_regs[inst], &hubp_shift, &hubp_mask))
@@ -1670,10 +1670,10 @@ static bool dcn321_resource_construct(
 
 #undef REG_STRUCT
 #define REG_STRUCT abm_regs
-               abm_regs_init(0),
-               abm_regs_init(1),
-               abm_regs_init(2),
-               abm_regs_init(3);
+       abm_regs_init(0),
+       abm_regs_init(1),
+       abm_regs_init(2),
+       abm_regs_init(3);
 
 #undef REG_STRUCT
 #define REG_STRUCT dccg_regs