]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: syscon: fix excess struct member build warning
authorDhruva Gole <d-gole@ti.com>
Mon, 2 Sep 2024 10:30:02 +0000 (16:00 +0530)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 2 Sep 2024 10:35:59 +0000 (12:35 +0200)
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>
Link: https://lore.kernel.org/r/20240902-b4-gpio-fix-v1-1-49a997994fa5@ti.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-syscon.c

index 3a90a3a1caea1b48115bf70eaa9dafa42b1d420e..5ab394ec81e69beae2080a3ca7ecf35868e79abf 100644 (file)
@@ -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,