Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH] gpio: kerneldoc fixes for excess members
@ 2024-08-26 16:18 Krzysztof Kozlowski
  2024-08-26 17:25 ` Andy Shevchenko
  2024-09-02 12:03 ` Bartosz Golaszewski
  0 siblings, 2 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-26 16:18 UTC (permalink / raw)
  To: Andy Shevchenko, Linus Walleij, Bartosz Golaszewski, linux-gpio,
	linux-kernel
  Cc: Krzysztof Kozlowski

Drop kerneldoc descriptions of struct members which do not exist to fix
W=1 warnings:

  drivers/gpio/gpio-pch.c:101: warning: Excess struct member 'lock' description in 'pch_gpio'
  drivers/gpio/gpio-syscon.c:46: warning: Excess struct member 'compatible' description in 'syscon_gpio_data'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/gpio/gpio-pch.c    | 1 -
 drivers/gpio/gpio-syscon.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index ee37ecb615cb..63f25c72eac2 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -84,7 +84,6 @@ struct pch_gpio_reg_data {
  * @gpio:			Data for GPIO infrastructure.
  * @pch_gpio_reg:		Memory mapped Register data is saved here
  *				when suspend.
- * @lock:			Used for register access protection
  * @irq_base:		Save base of IRQ number for interrupt
  * @ioh:		IOH ID
  * @spinlock:		Used for register access protection
diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c
index 3a90a3a1caea..5ab394ec81e6 100644
--- a/drivers/gpio/gpio-syscon.c
+++ b/drivers/gpio/gpio-syscon.c
@@ -23,7 +23,6 @@
 
 /**
  * struct syscon_gpio_data - Configuration for the device.
- * @compatible:		SYSCON driver compatible string.
  * @flags:		Set of GPIO_SYSCON_FEAT_ flags:
  *			GPIO_SYSCON_FEAT_IN:	GPIOs supports input,
  *			GPIO_SYSCON_FEAT_OUT:	GPIOs supports output,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-02 12:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 16:18 [PATCH] gpio: kerneldoc fixes for excess members Krzysztof Kozlowski
2024-08-26 17:25 ` Andy Shevchenko
2024-08-27 13:55   ` Krzysztof Kozlowski
2024-08-27 14:01     ` Andy Shevchenko
2024-09-02 10:09       ` Bartosz Golaszewski
2024-09-02 10:37         ` Andy Shevchenko
2024-09-02 12:02           ` Bartosz Golaszewski
2024-09-02 12:03 ` Bartosz Golaszewski
2024-09-02 12:06   ` Krzysztof Kozlowski
2024-09-02 12:10   ` Krzysztof Kozlowski
2024-09-02 12:17     ` Andy Shevchenko
2024-09-02 12:34     ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox