[PATCH 0/5] ACPI: sysfs: manage sysfs attributes through device core

From: Thomas Weißschuh
Date: Thu Jun 13 2024 - 16:15:45 EST


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

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxx>