Commit b45e2c92 authored by Ulf Hansson's avatar Ulf Hansson Committed by Treehugger Robot
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: If7138b246fcd6811001ba7b22c118b2e5132c463
parent b29cc397
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment