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

drm/radeon/ni_dpm: Clean up errors in ni_dpm.c

Fix the following errors reported by checkpatch:

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

Signed-off-by: GuoHua Chen <chenguohua_716@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

GuoHua Chen and committed by
Alex Deucher
b8cbb7de 30d30e0f

+4 -8
+4 -8
drivers/gpu/drm/radeon/ni_dpm.h
··· 59 59 60 60 #define NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT 2 61 61 62 - enum ni_dc_cac_level 63 - { 62 + enum ni_dc_cac_level { 64 63 NISLANDS_DCCAC_LEVEL_0 = 0, 65 64 NISLANDS_DCCAC_LEVEL_1, 66 65 NISLANDS_DCCAC_LEVEL_2, ··· 71 72 NISLANDS_DCCAC_MAX_LEVELS 72 73 }; 73 74 74 - struct ni_leakage_coeffients 75 - { 75 + struct ni_leakage_coeffients { 76 76 u32 at; 77 77 u32 bt; 78 78 u32 av; ··· 81 83 u32 t_ref; 82 84 }; 83 85 84 - struct ni_cac_data 85 - { 86 + struct ni_cac_data { 86 87 struct ni_leakage_coeffients leakage_coefficients; 87 88 u32 i_leakage; 88 89 s32 leakage_minimum_temperature; ··· 97 100 u8 lts_truncate_n; 98 101 }; 99 102 100 - struct ni_cac_weights 101 - { 103 + struct ni_cac_weights { 102 104 u32 weight_tcp_sig0; 103 105 u32 weight_tcp_sig1; 104 106 u32 weight_ta_sig;