aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/mtk_scp_ipi.c
diff options
context:
space:
mode:
authorArnaud Pouliquen <[email protected]>2021-12-06 19:18:58 +0000
committerMathieu Poirier <[email protected]>2021-12-08 17:09:40 +0000
commit8f86e69536f32a645e45a00d3b2ea73af5e41180 (patch)
tree3958f7525815ceeae2e8b03ea656592ebcfc249c /drivers/remoteproc/mtk_scp_ipi.c
parentMAINTAINERS: Removing Ohad from remoteproc/rpmsg maintenance (diff)
downloadkernel-8f86e69536f32a645e45a00d3b2ea73af5e41180.tar.gz
kernel-8f86e69536f32a645e45a00d3b2ea73af5e41180.zip
remoteproc: Fix remaining wrong return formatting in documentation
kernel documentation specification: "The return value, if any, should be described in a dedicated section named Return." Signed-off-by: Arnaud Pouliquen <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'drivers/remoteproc/mtk_scp_ipi.c')
-rw-r--r--drivers/remoteproc/mtk_scp_ipi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/remoteproc/mtk_scp_ipi.c b/drivers/remoteproc/mtk_scp_ipi.c
index 6dc955ecab80..00f041ebcde6 100644
--- a/drivers/remoteproc/mtk_scp_ipi.c
+++ b/drivers/remoteproc/mtk_scp_ipi.c
@@ -23,7 +23,7 @@
*
* Register an ipi function to receive ipi interrupt from SCP.
*
- * Returns 0 if ipi registers successfully, -error on error.
+ * Return: 0 if ipi registers successfully, -error on error.
*/
int scp_ipi_register(struct mtk_scp *scp,
u32 id,
@@ -150,7 +150,7 @@ EXPORT_SYMBOL_GPL(scp_ipi_unlock);
* When the processing completes, IPI handler registered
* by scp_ipi_register will be called in interrupt context.
*
- * Returns 0 if sending data successfully, -error on error.
+ * Return: 0 if sending data successfully, -error on error.
**/
int scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len,
unsigned int wait)