net: ipa: change ipa_interrupt_config() prototype
authorAlex Elder <elder@linaro.org>
Fri, 1 Mar 2024 17:02:36 +0000 (11:02 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2024 11:44:40 +0000 (11:44 +0000)
commite87e4371edfc369dcc6abbabc3f276d4e0260513
tree037c7e34b60a51b08666ca8dff6c34e3a8c472ef
parentb78fcd0a36a7d11cc71e7ee56bb27e71aea8464a
net: ipa: change ipa_interrupt_config() prototype

Change the return type of ipa_interrupt_config() to be an error
code rather than an IPA interrupt structure pointer, and assign the
the pointer within that function.

Change ipa_interrupt_deconfig() to take the IPA pointer as argument
and have it invalidate the ipa->interrupt pointer.

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