net: ipa: embed interconnect array in the power structure
authorAlex Elder <elder@linaro.org>
Wed, 9 Mar 2022 19:20:36 +0000 (13:20 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Mar 2022 05:19:06 +0000 (21:19 -0800)
commit8ee7ec4890e2b165f5bb457381c8a8bef0143fc5
treeabb3ab29459d6c2d0b0fdfad02533a09bd80cdd0
parent63ac8cce506360191975e66d26b32e5e56c83db4
net: ipa: embed interconnect array in the power structure

Rather than allocating the interconnect array dynamically, represent
the interconnects with a variable-length array at the end of the
ipa_power structure.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_power.c