Message ID | 20240613-acpi-sysfs-groups-v1-0-665e0deb052a@weissschuh.net (mailing list archive) |
---|---|
Headers | show |
Series | ACPI: sysfs: manage sysfs attributes through device core | expand |
On Thu, Jun 13, 2024 at 10:15 PM Thomas Weißschuh <linux@weissschuh.net> wrote: > > 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(-) > --- Whole series applied as 6.11 material, thanks!
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,