]> git.baikalelectronics.ru Git - kernel.git/commit
docs: filesystems: sysfs: Make text and code for ->show() consistent
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Sep 2022 13:57:41 +0000 (16:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2022 12:53:13 +0000 (14:53 +0200)
commit20091ffee80d0cee6717880ae61040c92744536e
tree8665795e12512ae02e48442f4dff6570bacf599a
parent6c91f93a17d7caca0d4b8923e4e0614da80c4dc7
docs: filesystems: sysfs: Make text and code for ->show() consistent

The documentation says that ->show() should only use sysfs_emit() or
sysfs_emit_at(), but example keeps outdated code. Update the code to
be consistent.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220928135741.54919-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/filesystems/sysfs.rst