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

Ran Sun posted 1 patch 2 years, 6 months ago
drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] drm/amd/pm: Clean up errors in r600_dpm.h
Posted by Ran Sun 2 years, 6 months ago
Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
 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
Re: [PATCH] drm/amd/pm: Clean up errors in r600_dpm.h
Posted by Alex Deucher 2 years, 6 months ago
Applied.  Thanks!

On Tue, Aug 1, 2023 at 10:15 PM Ran Sun <sunran001@208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>  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
>