diff options
author | Alex Elder <elder@linaro.org> | 2021-08-20 19:01:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-22 11:44:17 +0300 |
commit | 7aa0e8b8bd5b252c94900b19f2af8b7ec8a4e11d (patch) | |
tree | 80686eff988b1b39d3b7bcf1d51b467354336210 /drivers/net/ipa/ipa_smp2p.h | |
parent | 1aac309d32075e73d1f93208b38cd2d5f03e0a5c (diff) | |
download | linux-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_smp2p.h')
-rw-r--r-- | drivers/net/ipa/ipa_smp2p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/ipa_smp2p.h b/drivers/net/ipa/ipa_smp2p.h index 20319438a841..99a956789638 100644 --- a/drivers/net/ipa/ipa_smp2p.h +++ b/drivers/net/ipa/ipa_smp2p.h @@ -39,7 +39,7 @@ void ipa_smp2p_disable(struct ipa *ipa); * ipa_smp2p_notify_reset() - Reset modem notification state * @ipa: IPA pointer * - * If the modem crashes it queries the IPA clock state. In cleaning + * If the modem crashes it queries the IPA power state. In cleaning * up after such a crash this is used to reset some state maintained * for managing this notification. */ |