net: ipa: move IPA power operations to ipa_clock.c
authorAlex Elder <elder@linaro.org>
Wed, 4 Aug 2021 15:36:24 +0000 (10:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 10:27:05 +0000 (11:27 +0100)
commit73ff316dac17accc05e28ae4939426044fb437ec
tree56318c7603231c7225aaec8113362b0f7cb9119a
parent8ee7c40a25c70951c6e5db8e921fd08e4e038c6d
net: ipa: move IPA power operations to ipa_clock.c

Move ipa_suspend() and ipa_resume(), as well as the definition of
the ipa_pm_ops structure into "ipa_clock.c".  Make ipa_pm_ops public
and declare it as extern in "ipa_clock.h".

This is part of centralizing IPA power management functionality into
"ipa_clock.c" (the file will eventually get a name change).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_clock.c
drivers/net/ipa/ipa_clock.h
drivers/net/ipa/ipa_main.c