diff options
author | 2024-10-10 10:03:47 +0200 | |
---|---|---|
committer | 2024-10-10 21:35:46 +0200 | |
commit | 07d944b99c13c3e8bfbd7ee5d826cad722cc3591 (patch) | |
tree | fe8e00e10a9a6c0fb18fc91f1ef92962ca31a857 | |
parent | pinctrl: s32: add missing pins definitions (diff) | |
download | wireguard-linux-07d944b99c13c3e8bfbd7ee5d826cad722cc3591.tar.xz wireguard-linux-07d944b99c13c3e8bfbd7ee5d826cad722cc3591.zip |
pinctrl: aw9523: fix kerneldoc for _aw9523_gpio_get_multiple()
The parameters' descriptions are wrong, drop the invalid ones and
document the ones that are missing the description.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/20241010080347.7759-1-brgl@bgdev.pl
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/pinctrl-aw9523.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-aw9523.c b/drivers/pinctrl/pinctrl-aw9523.c index 5cb24c1dcb0d..9bf53de20be8 100644 --- a/drivers/pinctrl/pinctrl-aw9523.c +++ b/drivers/pinctrl/pinctrl-aw9523.c @@ -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 */ |