Commit e1b3bcaa authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/amd/pm: Clean up errors in amdgpu_pm.c

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line
ERROR: space required before the open parenthesis '('
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5502cf77
...@@ -743,7 +743,7 @@ static ssize_t amdgpu_set_pp_od_clk_voltage(struct device *dev, ...@@ -743,7 +743,7 @@ static ssize_t amdgpu_set_pp_od_clk_voltage(struct device *dev,
type = PP_OD_EDIT_CCLK_VDDC_TABLE; type = PP_OD_EDIT_CCLK_VDDC_TABLE;
else if (*buf == 'm') else if (*buf == 'm')
type = PP_OD_EDIT_MCLK_VDDC_TABLE; type = PP_OD_EDIT_MCLK_VDDC_TABLE;
else if(*buf == 'r') else if (*buf == 'r')
type = PP_OD_RESTORE_DEFAULT_TABLE; type = PP_OD_RESTORE_DEFAULT_TABLE;
else if (*buf == 'c') else if (*buf == 'c')
type = PP_OD_COMMIT_DPM_TABLE; type = PP_OD_COMMIT_DPM_TABLE;
...@@ -3536,7 +3536,8 @@ void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev) ...@@ -3536,7 +3536,8 @@ void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev)
#if defined(CONFIG_DEBUG_FS) #if defined(CONFIG_DEBUG_FS)
static void amdgpu_debugfs_prints_cpu_info(struct seq_file *m, static void amdgpu_debugfs_prints_cpu_info(struct seq_file *m,
struct amdgpu_device *adev) { struct amdgpu_device *adev)
{
uint16_t *p_val; uint16_t *p_val;
uint32_t size; uint32_t size;
int i; int i;
......
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