Skip to contentSkip to conversation

drm/amd/display: Clean up errors in dce112_hw_sequencer.c

PATCH Applied Ran Sun 2 participants 2 messages Aug 2, 2023 – Aug 7, 2023

Subsystems (3)
lore
Share & tools
lore

Ran Sun

author
#0 lore raw

PATCH 1/1 drm/amd/display: Clean up errors in dce112_hw_sequencer.c

Fix the following errors reported by checkpatch:

ERROR: space required before the open brace '{'

---
 drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c +1 -1
index 690caaaff019..0ef9ebb3c1e2 100644
@@ -127,7 +127,7 @@ static bool dce112_enable_display_power_gating(
 	else
 		cntl = ASIC_PIPE_DISABLE;
 
-	if (power_gating != PIPE_GATING_CONTROL_INIT || controller_id == 0){
+	if (power_gating != PIPE_GATING_CONTROL_INIT || controller_id == 0) {
 
 		bp_result = dcb->funcs->enable_disp_power_gating(
 						dcb, controller_id + 1, cntl);
Signature · 1 line
2.17.1
Applied
#1 lore raw

Applied. Thanks!

Quoted 26 lines · Ran Sun

Fix the following errors reported by checkpatch:

ERROR: space required before the open brace '{'

---
 drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c +1 -2
index 690caaaff019..0ef9ebb3c1e2 100644
@@ -127,7 +127,7 @@ static bool dce112_enable_display_power_gating(
        else
                cntl = ASIC_PIPE_DISABLE;
 
-       if (power_gating != PIPE_GATING_CONTROL_INIT || controller_id == 0){
+       if (power_gating != PIPE_GATING_CONTROL_INIT || controller_id == 0) {
 
                bp_result = dcb->funcs->enable_disp_power_gating(
                                                dcb, controller_id + 1, cntl);
--

2.17.1