platform/x86: dell-dcdbase: 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: Hongling Zeng <zenghongling@kylinos.cn>
Link: https://lore.kernel.org/r/20241022030500.9986-1-zenghongling@kylinos.cn
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Hongling Zeng 2024-10-22 11:05:00 +08:00 • committed by Ilpo Järvinen
commit 81e2cc3688
No known key found for this signature in database
GPG key ID: 59AC4F6153E5CE31