summaryrefslogtreecommitdiff
path: root/drivers/perf/alibaba_uncore_drw_pmu.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2024-04-20 23:00:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-04 18:37:03 +0300
commit7b53e926bfe222fd0cbe94d782d8577ac4116e0a (patch)
tree5faa85fe87b02dcd5ff7941d823fea7ac32f0bd1 /drivers/perf/alibaba_uncore_drw_pmu.c
parentaa1fd9cdabaae0d558333c3f5cc9baaa8d83cb24 (diff)
downloadlinux-7b53e926bfe222fd0cbe94d782d8577ac4116e0a.tar.xz
IB/qib: 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/185a88dd3e6e18bf508a875d87c95ea2a5c3fa13.1713608122.git.lukas@wunner.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/perf/alibaba_uncore_drw_pmu.c')
0 files changed, 0 insertions, 0 deletions