Commit b8cbb7de authored by GuoHua Chen's avatar GuoHua Chen Committed by Alex Deucher

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: default avatarGuoHua Chen <chenguohua_716@163.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 30d30e0f
...@@ -59,8 +59,7 @@ struct ni_mc_reg_table { ...@@ -59,8 +59,7 @@ struct ni_mc_reg_table {
#define NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT 2 #define NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT 2
enum ni_dc_cac_level enum ni_dc_cac_level {
{
NISLANDS_DCCAC_LEVEL_0 = 0, NISLANDS_DCCAC_LEVEL_0 = 0,
NISLANDS_DCCAC_LEVEL_1, NISLANDS_DCCAC_LEVEL_1,
NISLANDS_DCCAC_LEVEL_2, NISLANDS_DCCAC_LEVEL_2,
...@@ -72,8 +71,7 @@ enum ni_dc_cac_level ...@@ -72,8 +71,7 @@ enum ni_dc_cac_level
NISLANDS_DCCAC_MAX_LEVELS NISLANDS_DCCAC_MAX_LEVELS
}; };
struct ni_leakage_coeffients struct ni_leakage_coeffients {
{
u32 at; u32 at;
u32 bt; u32 bt;
u32 av; u32 av;
...@@ -83,8 +81,7 @@ struct ni_leakage_coeffients ...@@ -83,8 +81,7 @@ struct ni_leakage_coeffients
u32 t_ref; u32 t_ref;
}; };
struct ni_cac_data struct ni_cac_data {
{
struct ni_leakage_coeffients leakage_coefficients; struct ni_leakage_coeffients leakage_coefficients;
u32 i_leakage; u32 i_leakage;
s32 leakage_minimum_temperature; s32 leakage_minimum_temperature;
...@@ -100,8 +97,7 @@ struct ni_cac_data ...@@ -100,8 +97,7 @@ struct ni_cac_data
u8 lts_truncate_n; u8 lts_truncate_n;
}; };
struct ni_cac_weights struct ni_cac_weights {
{
u32 weight_tcp_sig0; u32 weight_tcp_sig0;
u32 weight_tcp_sig1; u32 weight_tcp_sig1;
u32 weight_ta_sig; u32 weight_ta_sig;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment