drm/amd/display: Clean up errors in dcn_calc_auto.c
PATCH 1/1 drm/amd/display: Clean up errors in dcn_calc_auto.c
Fix the following errors reported by checkpatch:
ERROR: else should follow close brace '}'
Signed-off-by GuoHua Cheng <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calc_auto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calc_auto.c +1 -2
@@ -45,8 +45,7 @@ void scaler_settings_calculation(struct dcn_bw_internal_vars *v)if (v->source_scan[k] == dcn_bw_hor) { v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; - } -else { + }else { v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; }
Signature · 1 line
2.17.1