net: ipa: register IPA interrupt handlers directly
authorAlex Elder <elder@linaro.org>
Wed, 4 Jan 2023 17:52:31 +0000 (11:52 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Jan 2023 06:03:14 +0000 (22:03 -0800)
commit482ae3a993e479254533cc6f37ab606e9a7baf86
tree0a175355075122929eaec45f2b1d13ed3da6f2b4
parentd50ed35587193e8e3b201769c785dc4bc61852b0
net: ipa: register IPA interrupt handlers directly

Declare the microcontroller IPA interrupt handler publicly, and
assign it directly in ipa_interrupt_config().  Make the SUSPEND IPA
interrupt handler public, and rename it ipa_power_suspend_handler().
Assign it directly in ipa_interrupt_config() as well.

This makes it unnecessary to do this in ipa_interrupt_add().  Make
similar changes for removing IPA interrupt handlers.

The next two patches will finish the cleanup, removing the
add/remove functions and the handler array entirely.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_interrupt.c
drivers/net/ipa/ipa_power.c
drivers/net/ipa/ipa_power.h
drivers/net/ipa/ipa_uc.c
drivers/net/ipa/ipa_uc.h