]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: don't return an error from ipa_interconnect_disable()
authorAlex Elder <elder@linaro.org>
Fri, 15 Jan 2021 12:50:45 +0000 (06:50 -0600)
committerJakub Kicinski <kuba@kernel.org>
Mon, 18 Jan 2021 19:51:05 +0000 (11:51 -0800)
commit12f205b734c6a06c906a7d7edb86033c71a0ffd9
treeafb2375527f848122054f95359f6b2f5d1b0ddb8
parentf3c6cbc905d5439974bcc49cb329135659d04f9e
net: ipa: don't return an error from ipa_interconnect_disable()

If disabling interconnects fails there's not a lot we can do.  The
only two callers of ipa_interconnect_disable() ignore the return
value, so just give the function a void return type.

Print an error message if disabling any of the interconnects is not
successful.  Return (and print) only the first error seen.

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