From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> Hi, Series drops the dev_pm_domain_detach() from platform bus remove and adds it in device_unbind_cleanup() to avoid runtime resumming the device after it was detached from its PM domain. Please provide your feedback. Thank you, Claudiu Changes in v4: - added a flag in dev_pm_info that is saved in dev_pm_domain_attach() and used in device_unbind_cleanup() Changes in v3: - add devm_pm_domain_attach() Changes in v2: - dropped the devres group open/close approach and use devm_pm_domain_attach() - adjusted patch description to reflect the new approach Claudiu Beznea (2): PM: domains: Add domain detach_power_off state driver core: platform: Drop dev_pm_domain_detach() drivers/base/dd.c | 2 ++ drivers/base/platform.c | 6 +----- drivers/base/power/common.c | 3 +++ include/linux/pm.h | 1 + 4 files changed, 7 insertions(+), 5 deletions(-) -- 2.43.0