Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: mm-lantiq: update kernel docs

Update kernel docs which are now outdated following the conversion to
using the modern GPIO provider API.

Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Fixes: 8d0d46da40c8 ("gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510290348.IpSNHCxr-lkp@intel.com/
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20251029091138.7995-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

+5 -5
+5 -5
drivers/gpio/gpio-mm-lantiq.c
··· 52 52 /** 53 53 * ltq_mm_set() - gpio_chip->set - set gpios. 54 54 * @gc: Pointer to gpio_chip device structure. 55 - * @gpio: GPIO signal number. 56 - * @val: Value to be written to specified signal. 55 + * @offset: GPIO signal number. 56 + * @value: Value to be written to specified signal. 57 57 * 58 58 * Set the shadow value and call ltq_mm_apply. Always returns 0. 59 59 */ ··· 73 73 /** 74 74 * ltq_mm_dir_out() - gpio_chip->dir_out - set gpio direction. 75 75 * @gc: Pointer to gpio_chip device structure. 76 - * @gpio: GPIO signal number. 77 - * @val: Value to be written to specified signal. 76 + * @offset: GPIO signal number. 77 + * @value: Value to be written to specified signal. 78 78 * 79 79 * Same as ltq_mm_set, always returns 0. 80 80 */ ··· 85 85 86 86 /** 87 87 * ltq_mm_save_regs() - Set initial values of GPIO pins 88 - * @mm_gc: pointer to memory mapped GPIO chip structure 88 + * @chip: Pointer to our private data structure. 89 89 */ 90 90 static void ltq_mm_save_regs(struct ltq_mm *chip) 91 91 {