Re: [PATCH 10/10] platform/x86: toshiba_acpi: bind proc entries creation to parent

2021-03-29 Thread Jonathan Cameron
On Wed, 24 Mar 2021 14:55:48 +0200 Alexandru Ardelean wrote: > This change binds the creation of the proc entries to the parent object, > via the devm_add_action_or_reset() call. > This way when the parent object's refcount goes to zero, the proc entries > are removed in the reverse other in

[PATCH 10/10] platform/x86: toshiba_acpi: bind proc entries creation to parent

2021-03-24 Thread Alexandru Ardelean
This change binds the creation of the proc entries to the parent object, via the devm_add_action_or_reset() call. This way when the parent object's refcount goes to zero, the proc entries are removed in the reverse other in which they were created. This is the last bit of the