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

XueBing Chen posted 1 patch 2 years, 3 months ago
drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/amdgpu: Clean up errors in athub_v1_0.c
Posted by XueBing Chen 2 years, 3 months ago
Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

Signed-off-by: XueBing Chen <chenxuebing@jari.cn>
---
 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