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

gpio: syscon: fix excess struct member build warning

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>

authored by

Dhruva Gole and committed by
Bartosz Golaszewski
c10c762f ece70e79

-1
-1
drivers/gpio/gpio-syscon.c
··· 23 23 24 24 /** 25 25 * struct syscon_gpio_data - Configuration for the device. 26 - * @compatible: SYSCON driver compatible string. 27 26 * @flags: Set of GPIO_SYSCON_FEAT_ flags: 28 27 * GPIO_SYSCON_FEAT_IN: GPIOs supports input, 29 28 * GPIO_SYSCON_FEAT_OUT: GPIOs supports output,