Commit 77b59b4e authored by Ulf Hansson's avatar Ulf Hansson Committed by Lee Jones
Browse files

UPSTREAM: PM: domains: Fix alloc/free in dev_pm_domain_attach|detach_list()



The dev_pm_domain_attach|detach_list() functions are not resource managed,
hence they should not use devm_* helpers to manage allocation/freeing of
data. Let's fix this by converting to the traditional alloc/free functions.

Bug: 254441685
Fixes: 161e16a5 ("PM: domains: Add helper functions to attach/detach multiple PM domains")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20241002122232.194245-3-ulf.hansson@linaro.org


(cherry picked from commit 77385688)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Iae2dee6b1a4fa24e10edfe3bf75d23c8eea18bc3
parent adb16197
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment