drm/amd/display: Clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 26 Jul 2022 07:25:39 +0000 (15:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:05:15 +0000 (16:05 -0400)
No functional modification involved.

smatch warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c:107 dcn201_update_clocks() warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c

index 451e8d6..f0577dc 100644 (file)
@@ -101,8 +101,8 @@ static void dcn201_update_clocks(struct clk_mgr *clk_mgr_base,
                return;
 
        if (clk_mgr_base->clks.dispclk_khz == 0 ||
-               dc->debug.force_clock_mode & 0x1) {
-                       force_reset = true;
+           dc->debug.force_clock_mode & 0x1) {
+               force_reset = true;
 
                dcn2_read_clocks_from_hw_dentist(clk_mgr_base);
        }