doc: replace @return by Return:

Sphinx expects Return: and not @return to indicate a return value.

find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt
2022-01-19 18:05:50 +01:00
parent 6a685753ce
commit 185f812c41
524 changed files with 2505 additions and 2505 deletions

View File

@@ -45,7 +45,7 @@ struct bootcount_ops {
*
* @dev: Device to read from
* @bootcount: Place to put the current bootcount
* @return 0 if OK, -ve on error
* Return: 0 if OK, -ve on error
*/
int dm_bootcount_get(struct udevice *dev, u32 *bootcount);
@@ -54,7 +54,7 @@ int dm_bootcount_get(struct udevice *dev, u32 *bootcount);
*
* @dev: Device to read from
* @bootcount: Value to be written to the backing storage
* @return 0 if OK, -ve on error
* Return: 0 if OK, -ve on error
*/
int dm_bootcount_set(struct udevice *dev, u32 bootcount);
@@ -66,7 +66,7 @@ void bootcount_store(ulong);
/**
* bootcount_load() - load the current bootcount
*
* @return bootcount, read from the appropriate location
* Return: bootcount, read from the appropriate location
*/
ulong bootcount_load(void);