summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_data-v4.9.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-08-20 19:01:28 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-22 11:44:17 +0300
commit7aa0e8b8bd5b252c94900b19f2af8b7ec8a4e11d (patch)
tree80686eff988b1b39d3b7bcf1d51b467354336210 /drivers/net/ipa/ipa_data-v4.9.c
parent1aac309d32075e73d1f93208b38cd2d5f03e0a5c (diff)
downloadlinux-7aa0e8b8bd5b252c94900b19f2af8b7ec8a4e11d.tar.xz
net: ipa: rename ipa_clock_* symbols
Rename a number of functions to clarify that there is no longer a notion of an "IPA clock," but rather that the functions are more generally related to IPA power management. ipa_clock_enable() -> ipa_power_enable() ipa_clock_disable() -> ipa_power_disable() ipa_clock_rate() -> ipa_core_clock_rate() ipa_clock_init() -> ipa_power_init() ipa_clock_exit() -> ipa_power_exit() Rename the ipa_clock structure to be ipa_power. Rename all variables and fields using that structure type "power" rather than "clock". Rename the ipa_clock_data structure to be ipa_power_data, and more broadly, just substitute "power" for "clock" in places that previously represented things related to the "IPA clock". Update comments throughout. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_data-v4.9.c')
-rw-r--r--drivers/net/ipa/ipa_data-v4.9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ipa/ipa_data-v4.9.c b/drivers/net/ipa/ipa_data-v4.9.c
index 8d83e14819e2..2421b5abb5d4 100644
--- a/drivers/net/ipa/ipa_data-v4.9.c
+++ b/drivers/net/ipa/ipa_data-v4.9.c
@@ -432,7 +432,7 @@ static const struct ipa_interconnect_data ipa_interconnect_data[] = {
};
/* Clock and interconnect configuration data for an SoC having IPA v4.9 */
-static const struct ipa_clock_data ipa_clock_data = {
+static const struct ipa_power_data ipa_power_data = {
.core_clock_rate = 60 * 1000 * 1000, /* Hz */
.interconnect_count = ARRAY_SIZE(ipa_interconnect_data),
.interconnect_data = ipa_interconnect_data,
@@ -447,5 +447,5 @@ const struct ipa_data ipa_data_v4_9 = {
.endpoint_data = ipa_gsi_endpoint_data,
.resource_data = &ipa_resource_data,
.mem_data = &ipa_mem_data,
- .clock_data = &ipa_clock_data,
+ .power_data = &ipa_power_data,
};