Skip to content

Commit c10c762

Browse files
DhruvaG2000Bartosz Golaszewski
authored andcommitted
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>
1 parent ece70e7 commit c10c762

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpio/gpio-syscon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
/**
2525
* struct syscon_gpio_data - Configuration for the device.
26-
* @compatible: SYSCON driver compatible string.
2726
* @flags: Set of GPIO_SYSCON_FEAT_ flags:
2827
* GPIO_SYSCON_FEAT_IN: GPIOs supports input,
2928
* GPIO_SYSCON_FEAT_OUT: GPIOs supports output,

0 commit comments

Comments
 (0)