Re: [PATCH 09/10] platform/x86: toshiba_acpi: use device-managed for sysfs removal

2021-03-29 Thread Jonathan Cameron
On Wed, 24 Mar 2021 14:55:47 +0200 Alexandru Ardelean wrote: > This change moves the creation of the Toshiba ACPI group to be > automatically removed when the parent refcount goes to zero. > > The main reason to do this, is to also enforce that the order of removal is > mirroring the order of

[PATCH 09/10] platform/x86: toshiba_acpi: use device-managed for sysfs removal

2021-03-24 Thread Alexandru Ardelean
This change moves the creation of the Toshiba ACPI group to be automatically removed when the parent refcount goes to zero. The main reason to do this, is to also enforce that the order of removal is mirroring the order of initialization. Signed-off-by: Alexandru Ardelean ---