[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7c795052.63b.18a26585767.Coremail.chenxuebing@jari.cn>
Date: Thu, 24 Aug 2023 15:00:38 +0800 (GMT+08:00)
From: "XueBing Chen" <chenxuebing@...i.cn>
To: alexander.deucher@....com, airlied@...il.com, daniel@...ll.ch
Cc: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm/amdgpu: Clean up errors in athub_v1_0.c
Fix the following errors reported by checkpatch:
ERROR: space required before the open parenthesis '('
Signed-off-by: XueBing Chen <chenxuebing@...i.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
Powered by blists - more mailing lists