]> 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)
commit888fef8da0eaa52a3b405a89244791e76ec5a5fb
treeafb2375527f848122054f95359f6b2f5d1b0ddb8
parentd2bfacfe4c0453ecc5265b42a41c8e93775111e9
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