Unverified Commit 90a7d748 authored by Hongling Zeng's avatar Hongling Zeng Committed by Ilpo Järvinen
Browse files

platform/x86: classmate-laptop: Replace snprintf in show functions with sysfs_emit



show() must not use snprintf() when formatting the value to be
returned to user space.

Signed-off-by: default avatarHongling Zeng <zenghongling@kylinos.cn>
Link: https://lore.kernel.org/r/20241019054426.8182-1-zenghongling@kylinos.cn


[ij: Added linux/sysfs.h include]
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent 3ea5eb68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment