Re: [PATCH 4/7] gpio: acpi: Fixup kerneldoc
From: Andy Shevchenko
Date: Mon Jul 24 2017 - 11:15:36 EST
On Mon, 2017-07-24 at 16:57 +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> Fix up a parameter description to match the code and fix markup for a
> constant to prettify output.
>
Acked-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
> Âdrivers/gpio/gpiolib-acpi.c | 4 ++--
> Â1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c
> index c9b42dd12dfa..4d2113530735 100644
> --- a/drivers/gpio/gpiolib-acpi.c
> +++ b/drivers/gpio/gpiolib-acpi.c
> @@ -61,7 +61,7 @@ static int acpi_gpiochip_find(struct gpio_chip *gc,
> void *data)
> Â#ifdef CONFIG_PINCTRL
> Â/**
> Â * acpi_gpiochip_pin_to_gpio_offset() - translates ACPI GPIO to Linux
> GPIO
> - * @chip: GPIO chip
> + * @gdev: GPIO device
> Â * @pin: ACPI GPIO pin number from GpioIo/GpioInt resource
> Â *
> Â * Function takes ACPI GpioIo/GpioInt pin number as a parameter and
> @@ -763,7 +763,7 @@ struct gpio_desc *acpi_node_get_gpiod(struct
> fwnode_handle *fwnode,
> Â * The function is idempotent, though each time it runs it will
> configure GPIO
> Â * pin direction according to the flags in GpioInt resource.
> Â *
> - * Return: Linux IRQ number (>%0) on success, negative errno on
> failure.
> + * Return: Linux IRQ number (> %0) on success, negative errno on
> failure.
> Â */
> Âint acpi_dev_gpio_irq_get(struct acpi_device *adev, int index)
> Â{
--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy