]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5732c94ce0af62a81ffe2895386b5ff6f57b5450
tree665dd48ccd9e3e733c54b94320070076f653d4fb
parent77841c8eb5dfa512c33cc03eea31ab6142cd7066
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