linux/drivers/scsi/ibmvscsi_tgt
Lukas Wunner 9bb8e30611 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>
2024-05-04 17:37:04 +02:00
..
ibmvscsi_tgt.c scsi: Use device_show_string() helper for sysfs attributes 2024-05-04 17:37:04 +02:00
ibmvscsi_tgt.h
libsrp.c
libsrp.h
Makefile