diff options
| author | Ai Chao <[email protected]> | 2025-01-16 08:08:35 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-01-20 12:13:18 +0000 |
| commit | 9886f575de5aefcfab537467c72e5176e5301df0 (patch) | |
| tree | 16081e3089b06837e4b32a7d91e990be15e050d8 /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86: hp-wmi: Add fan and thermal profile support for Victus 16-s1000 (diff) | |
| download | kernel-9886f575de5aefcfab537467c72e5176e5301df0.tar.gz kernel-9886f575de5aefcfab537467c72e5176e5301df0.zip | |
platform/mellanox: mlxbf-bootctl: 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 <[email protected]>
Acked-by: Vadim Pasternak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
