Home
last modified time | relevance | path

Searched hist:"3182459 b7bff642eb968d6203a08aea3862436c1" (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/x86/
H A Dtoshiba_acpi.cdiff 3182459b7bff642eb968d6203a08aea3862436c1 Sat Apr 20 22:00:05 CEST 2024 Lukas Wunner <lukas@wunner.de> platform/x86: 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>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/3ae8c9a73fbb291c1c863777af175c657a2a10e9.1713608122.git.lukas@wunner.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H A Dasus-wmi.cdiff 3182459b7bff642eb968d6203a08aea3862436c1 Sat Apr 20 22:00:05 CEST 2024 Lukas Wunner <lukas@wunner.de> platform/x86: 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>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/3ae8c9a73fbb291c1c863777af175c657a2a10e9.1713608122.git.lukas@wunner.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H A Dthinkpad_acpi.cdiff 3182459b7bff642eb968d6203a08aea3862436c1 Sat Apr 20 22:00:05 CEST 2024 Lukas Wunner <lukas@wunner.de> platform/x86: 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>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/3ae8c9a73fbb291c1c863777af175c657a2a10e9.1713608122.git.lukas@wunner.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>