gpio: mm-lantiq: update kernel docs
PATCH 1/1 gpio: mm-lantiq: update kernel docs
From: Bartosz Golaszewski <[email protected]>
Update kernel docs which are now outdated following the conversion to using the modern GPIO provider API.
Cc Christophe Leroy <[email protected]>
Fixes 8d0d46da40c8 ("gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver")
Reported-by kernel test robot <[email protected]>
Signed-off-by Bartosz Golaszewski <[email protected]>
--- drivers/gpio/gpio-mm-lantiq.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpio/gpio-mm-lantiq.c +5 -5
@@ -52,8 +52,8 @@ static void ltq_mm_apply(struct ltq_mm *chip)/** * ltq_mm_set() - gpio_chip->set - set gpios. * @gc: Pointer to gpio_chip device structure. -* @gpio: GPIO signal number. -* @val: Value to be written to specified signal. +* @offset: GPIO signal number. +* @value: Value to be written to specified signal. * * Set the shadow value and call ltq_mm_apply. Always returns 0. */
@@ -73,8 +73,8 @@ static int ltq_mm_set(struct gpio_chip *gc, unsigned int offset, int value)/** * ltq_mm_dir_out() - gpio_chip->dir_out - set gpio direction. * @gc: Pointer to gpio_chip device structure. -* @gpio: GPIO signal number. -* @val: Value to be written to specified signal. +* @offset: GPIO signal number. +* @value: Value to be written to specified signal. * * Same as ltq_mm_set, always returns 0. */
@@ -85,7 +85,7 @@ static int ltq_mm_dir_out(struct gpio_chip *gc, unsigned offset, int value)/** * ltq_mm_save_regs() - Set initial values of GPIO pins -* @mm_gc: pointer to memory mapped GPIO chip structure +* @chip: Pointer to our private data structure. */ static void ltq_mm_save_regs (struct ltq_mm *chip) {
Signature · 1 line
2.48.1
Quoted 10 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Update kernel docs which are now outdated following the conversion to using the modern GPIO provider API.
Cc Christophe Leroy <[email protected]>Fixes 8d0d46da40c8 ("gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver")Reported-by kernel test robot <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Reviewed-by Linus Walleij <[email protected]>
Yours,
Linus Walleij
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 4 lines · Bartosz Golaszewski
Update kernel docs which are now outdated following the conversion to using the modern GPIO provider API.
Applied, thanks!
[1/1] gpio: mm-lantiq: update kernel docs
https://git.kernel.org/brgl/linux/c/bac88be0d2a83daf761129828e7ae3c79cc260c2
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>