Skip to contentSkip to conversation

drm/amdgpu: Clean up errors in common_baco.c

PATCH Applied Ran Sun 2 participants 2 messages Aug 1, 2023 – Aug 7, 2023

Subsystems (3)
lore
Share & tools
lore

Ran Sun

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Clean up errors in common_baco.c

Fix the following errors reported by checkpatch:

ERROR: code indent should use tabs where possible

---
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c +1 -1
index 1c73776bd606..fd79337a3536 100644
@@ -42,7 +42,7 @@ static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 va
 }
 
 static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask,
-			        u32 shift, u32 value, u32 timeout)
+				u32 shift, u32 value, u32 timeout)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev);
 	u32 data;
Signature · 1 line
2.17.1
Applied
#1 lore raw

Applied. Thanks!

Quoted 26 lines · Ran Sun

Fix the following errors reported by checkpatch:

ERROR: code indent should use tabs where possible

---
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c +1 -2
index 1c73776bd606..fd79337a3536 100644
@@ -42,7 +42,7 @@ static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 va
 }
 
 static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask,
-                               u32 shift, u32 value, u32 timeout)
+                               u32 shift, u32 value, u32 timeout)
 {
        struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev);
        u32 data;
--

2.17.1