OSDN Git Service

net: ipa: kill struct ipa_interconnect
authorAlex Elder <elder@linaro.org>
Wed, 9 Mar 2022 19:20:31 +0000 (13:20 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Mar 2022 05:19:04 +0000 (21:19 -0800)
commitc7be12fa2fcc903f9d356eff0d4335359a95df7a
treeb00a957ebf72cb596b690873a68d27d29162114c
parentc17c4059df2471183a0e0d567677cbd7f0e0a980
net: ipa: kill struct ipa_interconnect

The ipa_interconnect structure contains an icc_path pointer, plus an
average and peak bandwidth value.  Other than the interconnect name,
this matches the icc_bulk_data structure exactly.

Use the icc_bulk_data structure in place of the ipa_interconnect
structure, and add an initialization of its name field.  Then get
rid of the now unnecessary ipa_interconnect structure definition.

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