OpenCloudOS-Kernel/drivers/platform/chrome/wilco_ec
ye xingchen 256b734efc platform/chrome: use sysfs_emit() instead of scnprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202212021656040995199@zte.com.cn
[tzungbi: fixed the commit message.]
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2022-12-26 11:14:34 +08:00
..
Kconfig platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST 2020-01-22 10:10:44 +01:00
Makefile platform/chrome: wilco_ec: Add keyboard backlight LED support 2019-11-19 18:12:19 +01:00
core.c platform/chrome: cros_ec_lpc_mec: remove cros_ec_lpc_mec_destroy() 2022-11-01 10:33:02 +08:00
debugfs.c platform/chrome: wilco_ec: Provide correct output format to 'h1_gpio' file 2020-04-13 16:36:54 +02:00
event.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
keyboard_leds.c platform/chrome: wilco_ec: Add newlines to printks 2020-01-22 10:10:44 +01:00
mailbox.c platform/chrome: wilco_ec: Add newlines to printks 2020-01-22 10:10:44 +01:00
properties.c platform/chrome: wilco_ec: Platform data shouldn't include kernel.h 2020-02-11 10:32:50 +01:00
sysfs.c platform/chrome: use sysfs_emit() instead of scnprintf() 2022-12-26 11:14:34 +08:00
telemetry.c platform/chrome: wilco_ec: convert stream-like files from nonseekable_open -> stream_open 2021-03-30 18:25:22 +02:00