linux-next/drivers/platform/x86/hp
Ai Chao 6d9b262afe platform/x86: hp-wmi: use sysfs_emit() instead of sprintf()
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: Ai Chao <aichao@kylinos.cn>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240314063703.315841-1-aichao@kylinos.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2024-03-25 15:44:03 +01:00
..
hp-bioscfg platform/x86: make fw_attr_class constant 2024-03-12 12:48:13 +02:00
hp_accel.c platform/x86: hp: hp_accel: Convert to platform remove callback returning void 2023-03-07 12:20:11 +01:00
hp-wmi.c platform/x86: hp-wmi: use sysfs_emit() instead of sprintf() 2024-03-25 15:44:03 +01:00
Kconfig platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
Makefile platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
tc1100-wmi.c platform/x86: hp: tc1100-wmi: Convert to platform remove callback returning void 2023-03-07 12:20:15 +01:00