]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pmdomain: qcom: cpr: simplify main allocation
authorRosen Penev <rosenp@gmail.com>
Sun, 15 Mar 2026 21:41:53 +0000 (14:41 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 1 Apr 2026 11:12:11 +0000 (13:12 +0200)
commit66ab322c618cd4581917e2981ddece5db7fb52a3
tree2c578946c718099d2f8e09f32bc3a8dabb57b36b
parentd797ecf3ffc5cc3e622bfee4cee6b17372c5bcc7
pmdomain: qcom: cpr: simplify main allocation

Remove kcalloc by using a flexible array member to combine allocations.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/qcom/cpr.c