summaryrefslogtreecommitdiffstats
path: root/fs/kernfs
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2024-04-20 22:00:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-04 17:37:04 +0200
commit9bb8e30611a4c9a28cb96ea64d1694202ac67da8 (patch)
treec51b8bc3bf55f0b34fe90732e40bf430ffdad325 /fs/kernfs
parent3182459b7bff642eb968d6203a08aea3862436c1 (diff)
downloadlinux-9bb8e30611a4c9a28cb96ea64d1694202ac67da8.tar.gz
linux-9bb8e30611a4c9a28cb96ea64d1694202ac67da8.tar.bz2
linux-9bb8e30611a4c9a28cb96ea64d1694202ac67da8.zip
scsi: Use device_show_string() helper for sysfs attributes
Deduplicate sysfs ->show() callbacks which expose a string at a static memory location. Use the newly introduced device_show_string() helper in the driver core instead by declaring those sysfs attributes with DEVICE_STRING_ATTR_RO(). No functional change intended. Signed-off-by: Lukas Wunner <lukas@wunner.de> Link: https://lore.kernel.org/r/b11792137186f5a6794f12fdf891d0c6d51b3557.1713608122.git.lukas@wunner.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions