* [PATCH] gpio: mm-lantiq: update kernel docs
@ 2025-10-29 9:11 Bartosz Golaszewski
2025-10-29 13:27 ` Linus Walleij
2025-10-30 9:28 ` Bartosz Golaszewski
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2025-10-29 9:11 UTC (permalink / raw)
To: Linus Walleij, Christophe Leroy
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski, kernel test robot
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
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/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/gpio-mm-lantiq.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c
index 3d2e24d61475..1bd98c50a459 100644
--- a/drivers/gpio/gpio-mm-lantiq.c
+++ b/drivers/gpio/gpio-mm-lantiq.c
@@ -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)
{
--
2.48.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] gpio: mm-lantiq: update kernel docs
2025-10-29 9:11 [PATCH] gpio: mm-lantiq: update kernel docs Bartosz Golaszewski
@ 2025-10-29 13:27 ` Linus Walleij
2025-10-30 9:28 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2025-10-29 13:27 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Christophe Leroy, linux-gpio, linux-kernel, Bartosz Golaszewski,
kernel test robot
On Wed, Oct 29, 2025 at 10:11 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> 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/
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] gpio: mm-lantiq: update kernel docs
2025-10-29 9:11 [PATCH] gpio: mm-lantiq: update kernel docs Bartosz Golaszewski
2025-10-29 13:27 ` Linus Walleij
@ 2025-10-30 9:28 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2025-10-30 9:28 UTC (permalink / raw)
To: Linus Walleij, Christophe Leroy, Bartosz Golaszewski
Cc: Bartosz Golaszewski, linux-gpio, linux-kernel, kernel test robot
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Wed, 29 Oct 2025 10:11:38 +0100, Bartosz Golaszewski wrote:
> 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,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-30 9:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 9:11 [PATCH] gpio: mm-lantiq: update kernel docs Bartosz Golaszewski
2025-10-29 13:27 ` Linus Walleij
2025-10-30 9:28 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox