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:Tao Cui <cuitao@kylinos.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn>
Loading
Please sign in to comment