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>
diff --git a/tools/fit_common.h b/tools/fit_common.h
index 1e81d4c..0e8ee79 100644
--- a/tools/fit_common.h
+++ b/tools/fit_common.h
@@ -16,7 +16,7 @@
  * @ptr: image header to be verified
  * @image_size: size of while image
  * @params: mkimage parameters
- * @return 0 if OK, -1 on error
+ * Return: 0 if OK, -1 on error
  */
 int fit_verify_header(unsigned char *ptr, int image_size,
 			struct image_tool_params *params);
@@ -33,7 +33,7 @@
  * @sbuf:	File status information is stored here
  * @delete_on_error:	true to delete the file if we get an error
  * @read_only:	true to open in read-only mode
- * @return 0 if OK, -1 on error.
+ * Return: 0 if OK, -1 on error.
  */
 int mmap_fdt(const char *cmdname, const char *fname, size_t size_inc,
 	     void **blobp, struct stat *sbuf, bool delete_on_error,
diff --git a/tools/ifdtool.c b/tools/ifdtool.c
index 3a39b7b..b705703 100644
--- a/tools/ifdtool.c
+++ b/tools/ifdtool.c
@@ -43,7 +43,7 @@
  *
  * @image:	Pointer to image
  * @size:	Size of image in bytes
- * @return pointer to structure, or NULL if not found
+ * Return: pointer to structure, or NULL if not found
  */
 static struct fdbar_t *find_fd(char *image, int size)
 {
@@ -72,7 +72,7 @@
  * @frba:		Flash region list
  * @region_type:	Type of region (0..MAX_REGIONS-1)
  * @region:		Region information is written here
- * @return 0 if OK, else -ve
+ * Return: 0 if OK, else -ve
  */
 static int get_region(struct frba_t *frba, int region_type,
 		      struct region_t *region)
@@ -380,7 +380,7 @@
  *
  * @image:	Pointer to image
  * @size:	Size of image in bytes
- * @return 0 if OK, -1 on error
+ * Return: 0 if OK, -1 on error
  */
 static int dump_fd(char *image, int size)
 {
@@ -432,7 +432,7 @@
  *
  * @image:	Pointer to image
  * @size:	Size of image in bytes
- * @return 0 if OK, -ve on error
+ * Return: 0 if OK, -ve on error
  */
 static int write_regions(char *image, int size)
 {
@@ -487,7 +487,7 @@
  * @filename:	Filename to use for the image
  * @image:	Pointer to image
  * @size:	Size of image in bytes
- * @return 0 if OK, -ve on error
+ * Return: 0 if OK, -ve on error
  */
 static int write_image(char *filename, char *image, int size)
 {
@@ -595,7 +595,7 @@
  *
  * @fname:	Filename to open
  * @sizep:	Returns file size in bytes
- * @return 0 if OK, -1 on error
+ * Return: 0 if OK, -1 on error
  */
 int open_for_read(const char *fname, int *sizep)
 {
@@ -622,7 +622,7 @@
  * @size:		Size of image in bytes
  * @region_type:	Region where the file should be added
  * @region_fname:	Filename to add to the image
- * @return 0 if OK, -ve on error
+ * Return: 0 if OK, -ve on error
  */
 int inject_region(char *image, int size, int region_type, char *region_fname)
 {
@@ -701,7 +701,7 @@
  * @write_fname:	Filename to add to the image
  * @offset_uboot_top:	Offset of the top of U-Boot
  * @offset_uboot_start:	Offset of the start of U-Boot
- * @return number of bytes written if OK, -ve on error
+ * Return: number of bytes written if OK, -ve on error
  */
 static int write_data(char *image, int size, unsigned int addr,
 		      const char *write_fname, int offset_uboot_top,
@@ -792,7 +792,7 @@
  * @str:	String to split
  * @firstp:	Returns first string
  * @secondp:	Returns second string
- * @return 0 if OK, -ve if @str does not have a :
+ * Return: 0 if OK, -ve if @str does not have a :
  */
 static int get_two_words(const char *str, char **firstp, char **secondp)
 {
diff --git a/tools/image-host.c b/tools/image-host.c
index a6b0a94..945571f 100644
--- a/tools/image-host.c
+++ b/tools/image-host.c
@@ -55,7 +55,7 @@
  * @noffset:	subnode offset
  * @data:	data to process
  * @size:	size of data in bytes
- * @return 0 if ok, -1 on error
+ * Return: 0 if ok, -1 on error
  */
 static int fit_image_process_hash(void *fit, const char *image_name,
 		int noffset, const void *data, size_t size)
@@ -209,7 +209,7 @@
  * @comment:	Comment to add to signature nodes
  * @require_keys: Mark all keys as 'required'
  * @engine_id:	Engine to use for signing
- * @return 0 if ok, -1 on error
+ * Return: 0 if ok, -1 on error
  */
 static int fit_image_process_sig(const char *keydir, const char *keyfile,
 		void *keydest, void *fit, const char *image_name,
diff --git a/tools/imagetool.h b/tools/imagetool.h
index e229a34..3546f7a 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -176,7 +176,7 @@
  * supported image type. If verification is successful, this prints
  * the respective header.
  *
- * @return 0 on success, negative if input image format does not match with
+ * Return: 0 on success, negative if input image format does not match with
  * any of supported image types
  */
 int imagetool_verify_print_header(
@@ -195,7 +195,7 @@
  * @tparams: image type parameters
  * @params: mkimage parameters
  *
- * @return 0 on success, negative if input image format does not match with
+ * Return: 0 on success, negative if input image format does not match with
  * the given image type
  */
 int imagetool_verify_print_header_by_type(
@@ -229,7 +229,7 @@
  *
  * @params:	mkimage parameters
  * @fname:	filename to check
- * @return size of file, or -ve value on error
+ * Return: size of file, or -ve value on error
  */
 int imagetool_get_filesize(struct image_tool_params *params, const char *fname);
 
@@ -243,7 +243,7 @@
  *
  * @cmdname:	command name
  * @fallback:	timestamp to use if SOURCE_DATE_EPOCH isn't set
- * @return timestamp based on SOURCE_DATE_EPOCH
+ * Return: timestamp based on SOURCE_DATE_EPOCH
  */
 time_t imagetool_get_source_date(
 	const char *cmdname,
diff --git a/tools/rkcommon.h b/tools/rkcommon.h
index 9351882..49b6df3 100644
--- a/tools/rkcommon.h
+++ b/tools/rkcommon.h
@@ -19,7 +19,7 @@
 /**
  * rkcommon_check_params() - check params
  *
- * @return 0 if OK, -1 if ERROR.
+ * Return: 0 if OK, -1 if ERROR.
  */
 int rkcommon_check_params(struct image_tool_params *params);
 
@@ -56,7 +56,7 @@
  *
  * @buf:	Pointer to the image file
  * @file_size:	Size of entire bootable image file (incl. all padding)
- * @return 0 if OK
+ * Return: 0 if OK
  */
 int rkcommon_verify_header(unsigned char *buf, int size,
 			   struct image_tool_params *params);
@@ -76,7 +76,7 @@
  * Some socs cannot disable the rc4-encryption of the spl binary.
  * rc4 encryption is disabled normally except on socs that cannot
  * handle unencrypted binaries.
- * @return true or false depending on rc4 being required.
+ * Return: true or false depending on rc4 being required.
  */
 bool rkcommon_need_rc4_spl(struct image_tool_params *params);
 
@@ -99,7 +99,7 @@
  * @tparams:    Pointer tot the image type structure (for setting
  *              the header and header_size)
  *
- * @return 0 (always)
+ * Return: 0 (always)
  */
 int rkcommon_vrec_header(struct image_tool_params *params,
 			 struct image_type_params *tparams);