Skip to content

Commit 8d066f2

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amd/pm: Clean up errors in arcturus_ppt.c
Fix the following errors reported by checkpatch: ERROR: spaces required around that '=' (ctx:VxW) ERROR: spaces required around that '>=' (ctx:WxV) Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 1e3a58d commit 8d066f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ static int arcturus_get_smu_metrics_data(struct smu_context *smu,
598598
MetricsMember_t member,
599599
uint32_t *value)
600600
{
601-
struct smu_table_context *smu_table= &smu->smu_table;
601+
struct smu_table_context *smu_table = &smu->smu_table;
602602
SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table;
603603
int ret = 0;
604604

@@ -1482,7 +1482,7 @@ static int arcturus_set_power_profile_mode(struct smu_context *smu,
14821482
return ret;
14831483

14841484
if ((profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) &&
1485-
(smu_version >=0x360d00)) {
1485+
(smu_version >= 0x360d00)) {
14861486
ret = smu_cmn_update_table(smu,
14871487
SMU_TABLE_ACTIVITY_MONITOR_COEFF,
14881488
WORKLOAD_PPLIB_CUSTOM_BIT,

0 commit comments

Comments
 (0)