Skip to contentSkip to conversation

drm/amdgpu: Clean up errors in athub_v1_0.c

PATCH New XueBing Chen 1 participant 1 message Aug 24, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

---
 drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/athub_v1_0.c +1 -1
index a13c443ea10f..788c096a2a5b 100644
@@ -58,7 +58,7 @@ static void athub_update_medium_grain_light_sleep(struct amdgpu_device *adev,
 	else
 		data &= ~ATHUB_MISC_CNTL__CG_MEM_LS_ENABLE_MASK;
 
-	if(def != data)
+	if (def != data)
 		WREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL, data);
 }
 
Signature · 1 line
2.17.1