Re: [PATCH 02/10] platform/x86: toshiba_acpi: use devm_add_action_or_reset() for singleton clear

2021-03-29 Thread Jonathan Cameron
On Wed, 24 Mar 2021 14:55:40 +0200 Alexandru Ardelean wrote: > The only reason to do this is to enforce the ordering of deinitialization, > when the conversion of the device-managed functions is done. > > The singleton object should be cleared right before it is free'd. > > Signed-off-by:

[PATCH 02/10] platform/x86: toshiba_acpi: use devm_add_action_or_reset() for singleton clear

2021-03-24 Thread Alexandru Ardelean
The only reason to do this is to enforce the ordering of deinitialization, when the conversion of the device-managed functions is done. The singleton object should be cleared right before it is free'd. Signed-off-by: Alexandru Ardelean --- drivers/platform/x86/toshiba_acpi.c | 15