[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240730065454.2096296-1-luoxueqin@kylinos.cn>
Date: Tue, 30 Jul 2024 14:54:52 +0800
From: Xueqin Luo <luoxueqin@...inos.cn>
To: rafael@...nel.org,
pavel@....cz,
len.brown@...el.com
Cc: linux-pm@...r.kernel.org,
xiongxin@...inos.cn,
linux-kernel@...r.kernel.org,
Xueqin Luo <luoxueqin@...inos.cn>
Subject: [RESEND PATCH 0/2] Use sysfs_emit() and sysfs_emit_at() in "show" functions
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
Powered by blists - more mailing lists