drm/amdgpu: Prefer dev_* variant over printk in amdgpu_atpx_handler.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Tue, 25 Jul 2023 13:04:49 +0000 (18:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2023 18:59:29 +0000 (14:59 -0400)
commitb0bd0a92b8158ea9c809d885e0f0c21518bdbd14
tree00232193a1072e9ad2ee75e840213e1483827678
parent7593164d2f13c7022258d64115144c66b8159e84
drm/amdgpu: Prefer dev_* variant over printk in amdgpu_atpx_handler.c

Changed from printk to dev_* variants so that
we get better debug info when there are multiple GPUs
in the system.

Fixes other style issue:

ERROR: open brace '{' following function definitions go on the next line
WARNING: printk() should include KERN_<LEVEL> facility level

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: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c