Skip to content

Commit e9d62ca

Browse files
committed
cpufreq/amd-pstate: Fix some whitespace issues
Add whitespace around the equals and remove leading space. Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
1 parent 92d6146 commit e9d62ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/cpufreq/amd-pstate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static unsigned int epp_values[] = {
126126
[EPP_INDEX_BALANCE_PERFORMANCE] = AMD_CPPC_EPP_BALANCE_PERFORMANCE,
127127
[EPP_INDEX_BALANCE_POWERSAVE] = AMD_CPPC_EPP_BALANCE_POWERSAVE,
128128
[EPP_INDEX_POWERSAVE] = AMD_CPPC_EPP_POWERSAVE,
129-
};
129+
};
130130

131131
typedef int (*cppc_mode_transition_fn)(int);
132132

@@ -182,7 +182,7 @@ static inline int get_mode_idx_from_str(const char *str, size_t size)
182182
{
183183
int i;
184184

185-
for (i=0; i < AMD_PSTATE_MAX; i++) {
185+
for (i = 0; i < AMD_PSTATE_MAX; i++) {
186186
if (!strncmp(str, amd_pstate_mode_string[i], size))
187187
return i;
188188
}

0 commit comments

Comments
 (0)