diff options
author | Dhruva Gole <[email protected]> | 2024-09-02 16:00:02 +0530 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-09-02 12:35:59 +0200 |
commit | c10c762f76b8cbce165bef9dfd33e6a0d9e52ba7 (patch) | |
tree | d81099fb04ddcc6a94d50d6bc0b01d46082dbb3a | |
parent | ece70e79868c75d946819db4fba095c8c96ddb32 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
-rw-r--r-- | drivers/gpio/gpio-syscon.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |