public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] ACPI: sysfs: manage sysfs attributes through device core
@ 2024-06-13 20:15 Thomas Weißschuh
  2024-06-13 20:15 ` [PATCH 1/5] ACPI: sysfs: convert utf-16 from _STR to utf-8 only once Thomas Weißschuh
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Thomas Weißschuh @ 2024-06-13 20:15 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, Robert Moore
  Cc: linux-acpi, linux-kernel, acpica-devel, Thomas Weißschuh

Simplify the lifecycle of the sysfs attributes by letting the device
core manage them.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (5):
      ACPI: sysfs: convert utf-16 from _STR to utf-8 only once
      ACPI: sysfs: use device lifecycle for _STR result
      ACPI: sysfs: manage attributes as attribute_group
      ACPI: sysfs: manage sysfs attributes through device core
      ACPI: sysfs: remove return value of acpi_device_setup_files()

 drivers/acpi/device_sysfs.c | 229 +++++++++++++++++++++-----------------------
 drivers/acpi/internal.h     |   3 +-
 drivers/acpi/scan.c         |   6 +-
 include/acpi/acpi_bus.h     |   2 +-
 4 files changed, 114 insertions(+), 126 deletions(-)
---
base-commit: 7d91551085d3e7d5eb21c2481565b2be5288f11b
change-id: 20240609-acpi-sysfs-groups-cfa756d16752

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-06-28 17:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-13 20:15 [PATCH 0/5] ACPI: sysfs: manage sysfs attributes through device core Thomas Weißschuh
2024-06-13 20:15 ` [PATCH 1/5] ACPI: sysfs: convert utf-16 from _STR to utf-8 only once Thomas Weißschuh
2024-06-17 18:37   ` Rafael J. Wysocki
2024-06-17 18:43     ` Rafael J. Wysocki
2024-06-17 18:57       ` Thomas Weißschuh
2024-06-17 19:20         ` Rafael J. Wysocki
2024-06-13 20:15 ` [PATCH 2/5] ACPI: sysfs: use device lifecycle for _STR result Thomas Weißschuh
2024-06-25 20:57   ` Mark Brown
2024-06-25 21:56     ` Thomas Weißschuh
2024-06-26 15:39       ` Mark Brown
2024-06-27 17:17         ` Thomas Weißschuh
2024-06-28 17:26           ` Rafael J. Wysocki
2024-06-13 20:15 ` [PATCH 3/5] ACPI: sysfs: manage attributes as attribute_group Thomas Weißschuh
2024-06-13 20:15 ` [PATCH 4/5] ACPI: sysfs: manage sysfs attributes through device core Thomas Weißschuh
2024-06-13 20:15 ` [PATCH 5/5] ACPI: sysfs: remove return value of acpi_device_setup_files() Thomas Weißschuh
2024-06-19 16:51 ` [PATCH 0/5] ACPI: sysfs: manage sysfs attributes through device core Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox