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

From: Rafael J. Wysocki
Date: Wed Jun 19 2024 - 12:52:06 EST


On Thu, Jun 13, 2024 at 10:15 PM Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:
>
> 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(-)
> ---

Whole series applied as 6.11 material, thanks!