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:
@@ -170,7 +170,7 @@ void device_free(struct udevice *dev)
|
||||
*
|
||||
* @flags: Flags passed to device_remove()
|
||||
* @drv_flags: Driver flags
|
||||
* @return 0 if the device should be removed,
|
||||
* Return: 0 if the device should be removed,
|
||||
* -EKEYREJECTED if @flags includes a flag in DM_REMOVE_ACTIVE_ALL but
|
||||
* @drv_flags does not (indicates that this device has nothing to do for
|
||||
* DMA shutdown or OS prepare)
|
||||
|
||||
Reference in New Issue
Block a user