Searched hist:"51 a45209a8bfb3b1973f31642736d07dee1a5b9a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | qcom-cpufreq-nvmem.c | diff 51a45209a8bfb3b1973f31642736d07dee1a5b9a Wed Oct 18 03:06:02 CDT 2023 Stephan Gerhold <stephan.gerhold@kernkonzept.com> cpufreq: qcom-nvmem: Simplify driver data allocation
[ Upstream commit 2a5d46c3ad6b0e62d2b04356ad999d504fb564e0 ]
Simplify the allocation and cleanup of driver data by using devm together with a flexible array. Prepare for adding additional per-CPU data by defining a struct qcom_cpufreq_drv_cpu instead of storing the opp_tokens directly.
Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Stable-dep-of: d01c84b97f19 ("cpufreq: qcom-nvmem: fix memory leaks in probe error paths") Signed-off-by: Sasha Levin <sashal@kernel.org>
|