From 185f812c419f1b4f0d10d9787d59cf9f11a2a600 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Wed, 19 Jan 2022 18:05:50 +0100 Subject: 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 --- lib/acpi/acpi_device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/acpi') diff --git a/lib/acpi/acpi_device.c b/lib/acpi/acpi_device.c index b5f2cebbde1..1b838fdbd6f 100644 --- a/lib/acpi/acpi_device.c +++ b/lib/acpi/acpi_device.c @@ -27,7 +27,7 @@ * @buf: Buffer to hold the path * @buf_len: Length of buffer * @cur: Current position in the buffer - * @return new position in buffer after adding @dev, or -ve on error + * Return: new position in buffer after adding @dev, or -ve on error */ static int acpi_device_path_fill(const struct udevice *dev, char *buf, size_t buf_len, int cur) @@ -97,7 +97,7 @@ enum acpi_dev_status acpi_device_status(const struct udevice *dev) * * Write a forward length for a large resource (2 bytes) * - * @return pointer to the zero word (for fixing up later) + * Return: pointer to the zero word (for fixing up later) */ static void *largeres_write_len_f(struct acpi_ctx *ctx) { @@ -597,7 +597,7 @@ static void acpi_device_write_i2c(struct acpi_ctx *ctx, * @dev: I2C device to convert * @i2c: Place to put the new structure * @scope: Scope of the I2C device (this is the controller path) - * @return chip address of device + * Return: chip address of device */ static int acpi_device_set_i2c(const struct udevice *dev, struct acpi_i2c *i2c, const char *scope) @@ -719,7 +719,7 @@ static void acpi_device_write_spi(struct acpi_ctx *ctx, const struct acpi_spi *s * @dev: SPI device to convert * @spi: Place to put the new structure * @scope: Scope of the SPI device (this is the controller path) - * @return 0 (always) + * Return: 0 (always) */ static int acpi_device_set_spi(const struct udevice *dev, struct acpi_spi *spi, const char *scope) -- cgit v1.2.3