Re: [PATCH v17 01/12] power: reset: reboot-mode: Remove devres based allocations
From: Shivendra Pratap
Date: Mon Nov 10 2025 - 08:17:35 EST
On 11/10/2025 6:40 PM, Bartosz Golaszewski wrote:
> You're making it sound as if there's some race condition going on.
> That's not the reason. They should be avoided in subsystem code
> because you have no guarantee that the function will be called after
> the driver is attached to the device nor that it will not be
> referenced after the managed resources were released after a driver
> detach. It's about life-times not synchronization.
sure. Will correct the language and make it more clear in the commit
message.
thanks,
Shivendra