summaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-09-28 16:57:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-30 14:53:13 +0200
commitfda8c908bc2d523c0770ded667dcdad29c06ff52 (patch)
tree8665795e12512ae02e48442f4dff6570bacf599a /kernel/capability.c
parent1da40c2667388dd70306bfd3d4dcb49fd20b50a9 (diff)
downloadlinux-stable-fda8c908bc2d523c0770ded667dcdad29c06ff52.tar.gz
linux-stable-fda8c908bc2d523c0770ded667dcdad29c06ff52.tar.bz2
linux-stable-fda8c908bc2d523c0770ded667dcdad29c06ff52.zip
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>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions