Skip to contentSkip to conversation

gpiolib: fix kerneldoc

PATCH Applied Bartosz Golaszewski 2 participants 3 messages Mar 5, 2025 – Mar 6, 2025 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpiolib: fix kerneldoc

From: Bartosz Golaszewski <[email protected]>

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")
---
 include/linux/gpio/driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/gpio/driver.h +1 -1
index 83e0a7e86962..bbcad928ecce 100644
@@ -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.
Signature · 1 line
2.45.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

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")

Sorry for the mess!

Yours,
Linus Walleij