Skip to content

Commit

Permalink
gpio: syscon: fix excess struct member build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dhruva Gole authored and Bartosz Golaszewski committed Sep 2, 2024
1 parent ece70e7 commit c10c762
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpio/gpio-syscon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c10c762

Please sign in to comment.