[PATCH] gpiolib: fix kerneldoc

Bartosz Golaszewski posted 1 patch 11 months, 1 week ago
include/linux/gpio/driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gpiolib: fix kerneldoc
Posted by Bartosz Golaszewski 11 months, 1 week ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add missing '@' to the kernel doc for the new of_node_instance_match
field of struct gpio_chip.

Fixes: bd3ce71078bd ("gpiolib: of: Handle threecell GPIO chips")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20250305203929.70283b9b@canb.auug.org.au/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 include/linux/gpio/driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 83e0a7e86962..bbcad928ecce 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -548,7 +548,7 @@ struct gpio_chip {
 	unsigned int of_gpio_n_cells;
 
 	/**
-	 * of_node_instance_match:
+	 * @of_node_instance_match:
 	 *
 	 * Determine if a chip is the right instance. Must be implemented by
 	 * any driver using more than one gpio_chip per device tree node.
-- 
2.45.2
Re: [PATCH] gpiolib: fix kerneldoc
Posted by Bartosz Golaszewski 11 months, 1 week ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Wed, 05 Mar 2025 10:49:39 +0100, Bartosz Golaszewski wrote:
> Add missing '@' to the kernel doc for the new of_node_instance_match
> field of struct gpio_chip.
> 
> 

Applied, thanks!

[1/1] gpiolib: fix kerneldoc
      commit: 9b443b68d97983dfb9a92009a5c951364fa35985

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: [PATCH] gpiolib: fix kerneldoc
Posted by Linus Walleij 11 months, 1 week ago
On Wed, Mar 5, 2025 at 10:49 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Add missing '@' to the kernel doc for the new of_node_instance_match
> field of struct gpio_chip.
>
> Fixes: bd3ce71078bd ("gpiolib: of: Handle threecell GPIO chips")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/all/20250305203929.70283b9b@canb.auug.org.au/
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Sorry for the mess!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij