diff options
author | 2024-08-01 16:31:56 +0800 | |
---|---|---|
committer | 2024-08-02 16:03:51 +0200 | |
commit | a712f03fe8b162c922bc9eb91758254fcf9bcb08 (patch) | |
tree | 84e5b8e068325b3981b103a220be72ed75122624 /scripts/module-common.c | |
parent | PM: hibernate: Use sysfs_emit() and sysfs_emit_at() in "show" functions (diff) | |
download | wireguard-linux-a712f03fe8b162c922bc9eb91758254fcf9bcb08.tar.xz wireguard-linux-a712f03fe8b162c922bc9eb91758254fcf9bcb08.zip |
PM: sleep: 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.
Signed-off-by: Xueqin Luo <luoxueqin@kylinos.cn>
Link: https://patch.msgid.link/20240801083156.2513508-3-luoxueqin@kylinos.cn
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions