summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorChelsy Ratnawat <chelsyratnawat2001@gmail.com>2025-06-26 05:51:30 -0700
committerJarkko Sakkinen <jarkko@kernel.org>2025-07-23 02:23:18 +0300
commit9eed6373420ee74ccb2683cba36ad476ed70592d (patch)
tree02506bbffff31edf658060837aeb94a571c7edae /scripts/lib/kdoc/kdoc_parser.py
parent89dd3695de4b8b17f0cded7c4b695b775b4d1d29 (diff)
tpm: Replace scnprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show functions
Documentation/filesystems/sysfs.rst mentions that show() should only use sysfs_emit() or sysfs_emit_at() when formating the value to be returned to user space. So replace scnprintf() with sysfs_emit(). Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions