Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon/dpm: Clean up errors in evergreen_smc.h

Fix the following errors reported by checkpatch:

ERROR: open brace '{' following struct go on the same line

Signed-off-by: XueBing Chen <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

XueBing Chen and committed by
Alex Deucher
6080a591 4a93a7c9

+3 -6
+3 -6
drivers/gpu/drm/radeon/evergreen_smc.h
··· 29 29 30 30 #define SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE 16 31 31 32 - struct SMC_Evergreen_MCRegisterAddress 33 - { 32 + struct SMC_Evergreen_MCRegisterAddress { 34 33 uint16_t s0; 35 34 uint16_t s1; 36 35 }; ··· 37 38 typedef struct SMC_Evergreen_MCRegisterAddress SMC_Evergreen_MCRegisterAddress; 38 39 39 40 40 - struct SMC_Evergreen_MCRegisterSet 41 - { 41 + struct SMC_Evergreen_MCRegisterSet { 42 42 uint32_t value[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; 43 43 }; 44 44 45 45 typedef struct SMC_Evergreen_MCRegisterSet SMC_Evergreen_MCRegisterSet; 46 46 47 - struct SMC_Evergreen_MCRegisters 48 - { 47 + struct SMC_Evergreen_MCRegisters { 49 48 uint8_t last; 50 49 uint8_t reserved[3]; 51 50 SMC_Evergreen_MCRegisterAddress address[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE];