drm/amdgpu: Cleanup amdgpu/amdgpu_cgs.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Fri, 28 Jul 2023 06:11:56 +0000 (11:41 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:12:49 +0000 (17:12 -0400)
commit5f95f003179d268c3ce1224f9cff8fd705c29782
tree45237a7efeb87e5eba8d16b5362782d31c81322f
parent2d5c04152a8f3ed6625617386e1b56eaa7beb009
drm/amdgpu: Cleanup amdgpu/amdgpu_cgs.c

Fixes the below:

ERROR: switch and case should be at the same indent
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
WARNING: Block comments use * on subsequent lines
WARNING: Comparisons should place the constant on the right side of the test

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c