Skip to content

Commit 81dc5cc

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amd/pm: add missing spaces before '('
ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 819362e commit 81dc5cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ static int renoir_get_profiling_clk_mask(struct smu_context *smu,
262262
/* mclk levels are in reverse order */
263263
*mclk_mask = NUM_MEMCLK_DPM_LEVELS - 1;
264264
} else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) {
265-
if(sclk_mask)
265+
if (sclk_mask)
266266
/* The sclk as gfxclk and has three level about max/min/current */
267267
*sclk_mask = 3 - 1;
268268

269-
if(mclk_mask)
269+
if (mclk_mask)
270270
/* mclk levels are in reverse order */
271271
*mclk_mask = 0;
272272

273-
if(soc_mask)
273+
if (soc_mask)
274274
*soc_mask = NUM_SOCCLK_DPM_LEVELS - 1;
275275
}
276276

0 commit comments

Comments
 (0)