diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-09-23 09:33:14 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-09-27 16:06:32 +0300 |
commit | 76a13da75d3ae5acc3cbc02eef558d8faa12e846 (patch) | |
tree | 95c4e2bcecc92c8a88cdb4badbcbb64200a44a17 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | bbfa903b4f9a0a76719f386367fed5e64187f577 (diff) | |
download | linux-76a13da75d3ae5acc3cbc02eef558d8faa12e846.tar.xz |
platform/x86: intel-uncore-freq: Use sysfs_emit() to instead of scnprintf()
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220923063314.239146-1-ye.xingchen@zte.com.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions