[PATCH v2 0/2] PM: domains: add devm_pm_domain_attach()

From: Claudiu
Date: Mon May 26 2025 - 08:21:34 EST


From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>

Hi,

As a result of discussion at [1], series adds the devm_pm_domain_attach()
and uses it in platform bus probe.

Please provide your feedback.

Thank you,
Claudiu

[1] https://lore.kernel.org/all/20250215130849.227812-1-claudiu.beznea.uj@xxxxxxxxxxxxxx

Changes in v2:
- add devm_pm_domain_attach()
- drop the devres grup open/close approach and use the newly added
devm_pm_domain_attach()

Claudiu Beznea (2):
PM: domains: Add devres variant for dev_pm_domain_attach()
driver core: platform: Use devm_pm_domain_attach()

drivers/base/platform.c | 8 ++---
drivers/base/power/common.c | 59 +++++++++++++++++++++++++++++++++++++
include/linux/pm_domain.h | 8 +++++
3 files changed, 69 insertions(+), 6 deletions(-)

--
2.43.0