Skip to content

Commit 8f86e69

Browse files
arnopomathieupoirier
authored andcommitted
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]>
1 parent 62c46d5 commit 8f86e69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/remoteproc/mtk_scp_ipi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* Register an ipi function to receive ipi interrupt from SCP.
2525
*
26-
* Returns 0 if ipi registers successfully, -error on error.
26+
* Return: 0 if ipi registers successfully, -error on error.
2727
*/
2828
int scp_ipi_register(struct mtk_scp *scp,
2929
u32 id,
@@ -150,7 +150,7 @@ EXPORT_SYMBOL_GPL(scp_ipi_unlock);
150150
* When the processing completes, IPI handler registered
151151
* by scp_ipi_register will be called in interrupt context.
152152
*
153-
* Returns 0 if sending data successfully, -error on error.
153+
* Return: 0 if sending data successfully, -error on error.
154154
**/
155155
int scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len,
156156
unsigned int wait)

drivers/remoteproc/st_slim_rproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static const struct rproc_ops slim_rproc_ops = {
216216
* obtains and enables any clocks required by the SLIM core and also
217217
* ioremaps the various IO.
218218
*
219-
* Returns st_slim_rproc pointer or PTR_ERR() on error.
219+
* Return: st_slim_rproc pointer or PTR_ERR() on error.
220220
*/
221221

222222
struct st_slim_rproc *st_slim_rproc_alloc(struct platform_device *pdev,

0 commit comments

Comments
 (0)