OSDN Git Service

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)
commitec0ef6d3c8c2887724e24b6337f48e893e191d08
treeafb2375527f848122054f95359f6b2f5d1b0ddb8
parentbf52e27bb35377d3582370732fa1e99cb446c670
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