aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-01 10:24:21 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-12-01 15:21:34 -0500
commit2cffcb667921559042fe3025d6d40d2a54f78922 (patch)
treeeedd07f53ef721545b7d363c42f80d81b341cfdf /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent949933b0f34f42af180a9ae59c263fcf4b76b710 (diff)
drm/amdgpu: use sysfs_emit() to instead of scnprintf()
Replace the open-code with sysfs_emit() to simplify the code. Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions