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

From: XueBing Chen
Date: Thu Aug 24 2023 - 03:02:24 EST


Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

Signed-off-by: XueBing Chen <chenxuebing@xxxxxxx>
---
drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
index a13c443ea10f..788c096a2a5b 100644
--- a/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
@@ -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);
}

--
2.17.1