Skip to content
Commit 2cffcb66 authored by ye xingchen's avatar ye xingchen Committed by Alex Deucher
Browse files

drm/amdgpu: use sysfs_emit() to instead of scnprintf()



Replace the open-code with sysfs_emit() to simplify the code.

Reviewed-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 949933b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment