rpmsg: qcom_smd: Make qcom_smd_unregister_edge() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 21 Mar 2023 15:40:37 +0000 (16:40 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 6 Apr 2023 03:58:32 +0000 (20:58 -0700)
commit810c03d9d7c978b4ee5287d8987043a9be1d614e
tree09ceb3bd42ef0fb2c9d36ff93bf6c890a076e021
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
rpmsg: qcom_smd: Make qcom_smd_unregister_edge() return void

This function returned zero unconditionally. Convert it to return no
value instead. This makes it more obvious what happens in the callers.

One caller is converted to return zero explicitly. The only other caller
(smd_subdev_stop() in drivers/remoteproc/qcom_common.c) already ignored
the return value before.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230321154039.355098-2-u.kleine-koenig@pengutronix.de
drivers/rpmsg/qcom_smd.c
include/linux/rpmsg/qcom_smd.h