[RESEND PATCH 0/2] Use sysfs_emit() and sysfs_emit_at() in "show" functions
From: Xueqin Luo
Date: Tue Jul 30 2024 - 02:55:23 EST
As Documentation/filesystems/sysfs.rst suggested,
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
No functional change intended.
Xueqin Luo (2):
PM: hibernate: Use sysfs_emit() and sysfs_emit_at() in "show"
functions
PM: Use sysfs_emit() and sysfs_emit_at() in "show" functions
kernel/power/hibernate.c | 20 ++++++------
kernel/power/main.c | 70 ++++++++++++++++++++--------------------
2 files changed, 45 insertions(+), 45 deletions(-)
--
2.25.1