Re: [PATCH] drm/amd/pm: Clean up errors in r600_dpm.h

From: Alex Deucher
Date: Mon Aug 07 2023 - 13:04:04 EST


Applied. Thanks!

On Tue, Aug 1, 2023 at 10:15 PM Ran Sun <sunran001@xxxxxxxxxx> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
> drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h b/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h
> index 055321f61ca7..3e7caa715533 100644
> --- a/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h
> +++ b/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h
> @@ -117,8 +117,7 @@ enum r600_display_watermark {
> R600_DISPLAY_WATERMARK_HIGH = 1,
> };
>
> -enum r600_display_gap
> -{
> +enum r600_display_gap {
> R600_PM_DISPLAY_GAP_VBLANK_OR_WM = 0,
> R600_PM_DISPLAY_GAP_VBLANK = 1,
> R600_PM_DISPLAY_GAP_WATERMARK = 2,
> --
> 2.17.1
>