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

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

Fix the following errors reported by checkpatch:

ERROR: code indent should use tabs where possible
ERROR: that open brace { should be on the previous line
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8c3d5b40
...@@ -1220,9 +1220,9 @@ static int smu_v13_0_6_get_power_limit(struct smu_context *smu, ...@@ -1220,9 +1220,9 @@ static int smu_v13_0_6_get_power_limit(struct smu_context *smu,
uint32_t *default_power_limit, uint32_t *default_power_limit,
uint32_t *max_power_limit) uint32_t *max_power_limit)
{ {
struct smu_table_context *smu_table = &smu->smu_table; struct smu_table_context *smu_table = &smu->smu_table;
struct PPTable_t *pptable = struct PPTable_t *pptable =
(struct PPTable_t *)smu_table->driver_pptable; (struct PPTable_t *)smu_table->driver_pptable;
uint32_t power_limit = 0; uint32_t power_limit = 0;
int ret; int ret;
...@@ -1338,8 +1338,7 @@ static int smu_v13_0_6_set_irq_state(struct amdgpu_device *adev, ...@@ -1338,8 +1338,7 @@ static int smu_v13_0_6_set_irq_state(struct amdgpu_device *adev,
return 0; return 0;
} }
static const struct amdgpu_irq_src_funcs smu_v13_0_6_irq_funcs = static const struct amdgpu_irq_src_funcs smu_v13_0_6_irq_funcs = {
{
.set = smu_v13_0_6_set_irq_state, .set = smu_v13_0_6_set_irq_state,
.process = smu_v13_0_6_irq_process, .process = smu_v13_0_6_irq_process,
}; };
......
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