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:Ulf Hansson <ulf.hansson@linaro.org> Acked-by:
Viresh 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:
Lee Jones <joneslee@google.com> Change-Id: If7138b246fcd6811001ba7b22c118b2e5132c463
Loading
Please sign in to comment