]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12f4822fd9cb48ccc1adf151f8fd2e25078ae63f
treeabb3ab29459d6c2d0b0fdfad02533a09bd80cdd0
parent70e78c17b113465c93369c467acb1ad4a7ae4602
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