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

Ran Sun posted 1 patch 2 years, 6 months ago
drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/amd/display: Clean up errors in dce112_hw_sequencer.c
Posted by Ran Sun 2 years, 6 months ago
Fix the following errors reported by checkpatch:

ERROR: space required before the open brace '{'

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
 drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c
index 690caaaff019..0ef9ebb3c1e2 100644
--- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c
@@ -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
Re: [PATCH] drm/amd/display: Clean up errors in dce112_hw_sequencer.c
Posted by Alex Deucher 2 years, 6 months ago
Applied.  Thanks!

On Tue, Aug 1, 2023 at 10:54 PM Ran Sun <sunran001@208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: space required before the open brace '{'
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c
> index 690caaaff019..0ef9ebb3c1e2 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c
> @@ -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
>