[PATCH] drm/amdgpu/df: Clean up errors in df_v1_7.h

XueBing Chen posted 1 patch 2 years, 3 months ago
drivers/gpu/drm/amd/amdgpu/df_v1_7.h | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
[PATCH] drm/amdgpu/df: Clean up errors in df_v1_7.h
Posted by XueBing Chen 2 years, 3 months ago
Fix the following errors reported by checkpatch:

ERROR: spaces required around that '=' (ctx:WxV)
ERROR: open brace '{' following enum go on the same line

Signed-off-by: XueBing Chen <chenxuebing@jari.cn>
---
 drivers/gpu/drm/amd/amdgpu/df_v1_7.h | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
index 74621104c487..22b3d66c4f66 100644
--- a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
+++ b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
@@ -25,14 +25,13 @@
 #define __DF_V1_7_H__
 
 #include "soc15_common.h"
-enum DF_V1_7_MGCG
-{
+enum DF_V1_7_MGCG {
 	DF_V1_7_MGCG_DISABLE = 0,
-	DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY =1,
-	DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY =2,
-	DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY =13,
-	DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY =14,
-	DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY =15
+	DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY = 1,
+	DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY = 2,
+	DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY = 13,
+	DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY = 14,
+	DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY = 15
 };
 
 extern const struct amdgpu_df_funcs df_v1_7_funcs;
-- 
2.17.1