Commit d6d69f0e authored by Tao Cui's avatar Tao Cui Committed by Huacai Chen
Browse files

LoongArch: Replace sprintf() with sysfs_emit()



As Documentation/filesystems/sysfs.rst suggested, show() should only use
sysfs_emit() or sysfs_emit_at() when formatting the value to be returned
to user space.

No functional change intended.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarTao Cui <cuitao@kylinos.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 51adb03e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment