drm/amdgpu: Clean up errors in amdgpu_atombios.h
authorRan Sun <sunran001@208suo.com>
Wed, 2 Aug 2023 07:23:16 +0000 (07:23 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:43:40 +0000 (09:43 -0400)
Fix the following errors reported by checkpatch:

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

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h

index b639a80..0811474 100644 (file)
@@ -89,8 +89,7 @@ struct atom_memory_info {
 
 #define MAX_AC_TIMING_ENTRIES 16
 
-struct atom_memory_clock_range_table
-{
+struct atom_memory_clock_range_table {
        u8 num_entries;
        u8 rsv[3];
        u32 mclk[MAX_AC_TIMING_ENTRIES];
@@ -118,14 +117,12 @@ struct atom_mc_reg_table {
 
 #define MAX_VOLTAGE_ENTRIES 32
 
-struct atom_voltage_table_entry
-{
+struct atom_voltage_table_entry {
        u16 value;
        u32 smio_low;
 };
 
-struct atom_voltage_table
-{
+struct atom_voltage_table {
        u32 count;
        u32 mask_low;
        u32 phase_delay;