[RESEND PATCH 0/2] Use sysfs_emit() and sysfs_emit_at() in "show" functions

Xueqin Luo posted 2 patches 1 year, 4 months ago
There is a newer version of this series
kernel/power/hibernate.c | 20 ++++++------
kernel/power/main.c      | 70 ++++++++++++++++++++--------------------
2 files changed, 45 insertions(+), 45 deletions(-)
[RESEND PATCH 0/2] Use sysfs_emit() and sysfs_emit_at() in "show" functions
Posted by Xueqin Luo 1 year, 4 months ago
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