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

drm/radeon/rv770: Clean up errors in rv770_dpm.c

Fix the following errors reported by checkpatch:

ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: default avatarGuoHua Chen <chenguohua_716@163.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d93eb053
...@@ -1010,7 +1010,7 @@ int rv770_populate_initial_mvdd_value(struct radeon_device *rdev, ...@@ -1010,7 +1010,7 @@ int rv770_populate_initial_mvdd_value(struct radeon_device *rdev,
struct rv7xx_power_info *pi = rv770_get_pi(rdev); struct rv7xx_power_info *pi = rv770_get_pi(rdev);
if ((pi->s0_vid_lower_smio_cntl & pi->mvdd_mask_low) == if ((pi->s0_vid_lower_smio_cntl & pi->mvdd_mask_low) ==
(pi->mvdd_low_smio[MVDD_LOW_INDEX] & pi->mvdd_mask_low) ) { (pi->mvdd_low_smio[MVDD_LOW_INDEX] & pi->mvdd_mask_low)) {
voltage->index = MVDD_LOW_INDEX; voltage->index = MVDD_LOW_INDEX;
voltage->value = cpu_to_be16(MVDD_LOW_VALUE); voltage->value = cpu_to_be16(MVDD_LOW_VALUE);
} else { } else {
...@@ -1260,7 +1260,7 @@ static int rv770_construct_vddc_table(struct radeon_device *rdev) ...@@ -1260,7 +1260,7 @@ static int rv770_construct_vddc_table(struct radeon_device *rdev)
pi->vddc_mask_low = gpio_mask; pi->vddc_mask_low = gpio_mask;
if (i > 0) { if (i > 0) {
if ((pi->vddc_table[i].low_smio != if ((pi->vddc_table[i].low_smio !=
pi->vddc_table[i - 1].low_smio ) || pi->vddc_table[i - 1].low_smio) ||
(pi->vddc_table[i].high_smio != (pi->vddc_table[i].high_smio !=
pi->vddc_table[i - 1].high_smio)) pi->vddc_table[i - 1].high_smio))
vddc_index++; vddc_index++;
......
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