Skip to content

Commit 7406f96

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amd/pm: Clean up errors in arcturus_ppt.c
Fix the following errors reported by checkpatch: ERROR: "foo* bar" should be "foo *bar" ERROR: spaces required around that '=' (ctx:VxW) ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 8d066f2 commit 7406f96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ int smu_cmn_feature_set_enabled(struct smu_context *smu,
691691

692692
#undef __SMU_DUMMY_MAP
693693
#define __SMU_DUMMY_MAP(fea) #fea
694-
static const char* __smu_feature_names[] = {
694+
static const char *__smu_feature_names[] = {
695695
SMU_FEATURE_MASKS
696696
};
697697

@@ -927,7 +927,7 @@ int smu_cmn_get_metrics_table(struct smu_context *smu,
927927
void *metrics_table,
928928
bool bypass_cache)
929929
{
930-
struct smu_table_context *smu_table= &smu->smu_table;
930+
struct smu_table_context *smu_table = &smu->smu_table;
931931
uint32_t table_size =
932932
smu_table->tables[SMU_TABLE_SMU_METRICS].size;
933933
int ret = 0;
@@ -969,7 +969,7 @@ void smu_cmn_init_soft_gpu_metrics(void *table, uint8_t frev, uint8_t crev)
969969
struct metrics_table_header *header = (struct metrics_table_header *)table;
970970
uint16_t structure_size;
971971

972-
#define METRICS_VERSION(a, b) ((a << 16) | b )
972+
#define METRICS_VERSION(a, b) ((a << 16) | b)
973973

974974
switch (METRICS_VERSION(frev, crev)) {
975975
case METRICS_VERSION(1, 0):

0 commit comments

Comments
 (0)