Skip to contentSkip to conversation

pinctrl: aw9523: fix kerneldoc for _aw9523_gpio_get_multiple()

PATCH In review Bartosz Golaszewski 2 participants 2 messages Oct 10, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: aw9523: fix kerneldoc for _aw9523_gpio_get_multiple()

From: Bartosz Golaszewski <[email protected]>

The parameters' descriptions are wrong, drop the invalid ones and document the ones that are missing the description.

---
 drivers/pinctrl/pinctrl-aw9523.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pinctrl/pinctrl-aw9523.c +2 -2
index 5cb24c1dcb0d..9bf53de20be8 100644
@@ -550,10 +550,10 @@ static int aw9523_gpio_get(struct gpio_chip *chip, unsigned int offset)
 
 /**
  * _aw9523_gpio_get_multiple - Get I/O state for an entire port
- * @regmap: Regmap structure
- * @pin: gpiolib pin number
+ * @awi: Controller data
  * @regbit: hw pin index, used to retrieve port number
  * @state: returned port I/O state
+ * @mask: lines to read values for
  *
  * Return: Zero for success or negative number for error
  */
Signature · 1 line
2.43.0