[PATCH][next] drm/amd/display: remove extra ; from statement, remove extra tabs

Colin Ian King posted 1 patch 1 month, 2 weeks ago
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH][next] drm/amd/display: remove extra ; from statement, remove extra tabs
Posted by Colin Ian King 1 month, 2 weeks ago
There is a statement that has a ;; at the end, remove the extraneous ;
and remove extra tabs in the code block.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
index 71cfc623bc2d..f3fa8eb4bcce 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
@@ -1165,9 +1165,9 @@ void dm_helpers_override_panel_settings(
 		link->panel_config.dsc.disable_dsc_edp = true;
 
 	if (dc_get_edp_link_panel_inst(ctx->dc, link, &panel_inst) && panel_inst == 1) {
-			link->panel_config.psr.disable_psr = true;
-			link->panel_config.psr.disallow_psrsu = true;;
-			link->panel_config.psr.disallow_replay = true;
+		link->panel_config.psr.disable_psr = true;
+		link->panel_config.psr.disallow_psrsu = true;
+		link->panel_config.psr.disallow_replay = true;
 	}
 }
 
-- 
2.51.0
Re: [PATCH][next] drm/amd/display: remove extra ; from statement, remove extra tabs
Posted by Alex Hung 1 month, 2 weeks ago
Reviewed-by: Alex Hung <alex.hung@amd.com>

On 2/28/26 02:59, Colin Ian King wrote:
> There is a statement that has a ;; at the end, remove the extraneous ;
> and remove extra tabs in the code block.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
> index 71cfc623bc2d..f3fa8eb4bcce 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
> @@ -1165,9 +1165,9 @@ void dm_helpers_override_panel_settings(
>   		link->panel_config.dsc.disable_dsc_edp = true;
>   
>   	if (dc_get_edp_link_panel_inst(ctx->dc, link, &panel_inst) && panel_inst == 1) {
> -			link->panel_config.psr.disable_psr = true;
> -			link->panel_config.psr.disallow_psrsu = true;;
> -			link->panel_config.psr.disallow_replay = true;
> +		link->panel_config.psr.disable_psr = true;
> +		link->panel_config.psr.disallow_psrsu = true;
> +		link->panel_config.psr.disallow_replay = true;
>   	}
>   }
>