diff mbox series

gpio-syscon: fix excess struct member build warning

Message ID 20240902-b4-gpio-fix-v1-1-49a997994fa5@ti.com
State New
Headers show
Series gpio-syscon: fix excess struct member build warning | expand

Commit Message

Dhruva Gole Sept. 2, 2024, 10:30 a.m. UTC
Fix the build warning with W=1 flag,
"Excess struct member 'compatible' description in 'syscon_gpio_data' "
by removing the documentation for the non existent member.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
---
 drivers/gpio/gpio-syscon.c | 1 -
 1 file changed, 1 deletion(-)


---
base-commit: ecc768a84f0b8e631986f9ade3118fa37852fef0
change-id: 20240902-b4-gpio-fix-1924622fedeb

Best regards,

Comments

Bartosz Golaszewski Sept. 2, 2024, 10:34 a.m. UTC | #1
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Mon, 02 Sep 2024 16:00:02 +0530, Dhruva Gole wrote:
> Fix the build warning with W=1 flag,
> "Excess struct member 'compatible' description in 'syscon_gpio_data' "
> by removing the documentation for the non existent member.
> 
> 

Applied, thanks!

[1/1] gpio-syscon: fix excess struct member build warning
      commit: 3cbf09bfb6162a90bda5e1228d0c46ad3e4c0d6c

Best regards,
diff mbox series

Patch

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,