Re: [PATCH 1/5] PM: domains: Add helper functions to attach/detach multiple PM domains

2024-01-03 Thread Ulf Hansson
On Fri, 29 Dec 2023 at 21:21, Nikunj Kela wrote: > > > On 12/28/2023 3:41 AM, Ulf Hansson wrote: > > Attaching/detaching of a device to multiple PM domains has started to > > become a common operation for many drivers, typically during ->probe() and > > ->remove(). In most cases, this has lead to

Re: [PATCH 1/5] PM: domains: Add helper functions to attach/detach multiple PM domains

2023-12-29 Thread Nikunj Kela
On 12/28/2023 3:41 AM, Ulf Hansson wrote: Attaching/detaching of a device to multiple PM domains has started to become a common operation for many drivers, typically during ->probe() and ->remove(). In most cases, this has lead to lots of boilerplate code in the drivers. To fixup up the situat

[PATCH 1/5] PM: domains: Add helper functions to attach/detach multiple PM domains

2023-12-28 Thread Ulf Hansson
Attaching/detaching of a device to multiple PM domains has started to become a common operation for many drivers, typically during ->probe() and ->remove(). In most cases, this has lead to lots of boilerplate code in the drivers. To fixup up the situation, let's introduce a pair of helper function