net: ipa: kill ipa_clock_get()
authorAlex Elder <elder@linaro.org>
Thu, 19 Aug 2021 22:19:27 +0000 (17:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:45:47 +0000 (14:45 +0100)
commitc3f115aa5e1b6459e2ccd711277435397dd7c6e9
tree665dd48ccd9e3e733c54b94320070076f653d4fb
parent724c2d743688f296263df0223c3d95987dfc427b
net: ipa: kill ipa_clock_get()

The only remaining user of the ipa_clock_{get,put}() interface is
ipa_isr_thread().  Replace calls to ipa_clock_get() there calling
pm_runtime_get_sync() instead.  And call pm_runtime_put() there
rather than ipa_clock_put().  Warn if we ever get an error.

With that, we can get rid of ipa_clock_get() and ipa_clock_put().

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_interrupt.c