aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorStephan Gerhold <stephan.gerhold@kernkonzept.com>2023-10-18 10:06:02 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2023-10-25 14:49:35 +0530
commit2a5d46c3ad6b0e62d2b04356ad999d504fb564e0 (patch)
tree855ccad49580a209abd602db9dacac2e60d38def /drivers/cdx/controller/cdx_controller.c
parentdce13a235a356363faf9385ba34681d9fc689f1a (diff)
cpufreq: qcom-nvmem: Simplify driver data allocation
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>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions