pinctrl: stm32: Declare stm32_pmx_get_mode() as static
authorAntonio Borneo <antonio.borneo@foss.st.com>
Tue, 10 Jun 2025 14:30:38 +0000 (16:30 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Jun 2025 09:20:10 +0000 (11:20 +0200)
commit9b71efc450fdd2f70d59917025da34f8b0e81135
tree2ab69bad2f41906a34ff571d343cf641973e19b0
parent90256033c11028a57437b145449c0dab196183b9
pinctrl: stm32: Declare stm32_pmx_get_mode() as static

The commit acaa037970f6 ("pinctrl: stm32: Implement .get_direction
gpio_chip callback") exported the function stm32_pmx_get_mode()
and the struct stm32_gpio_bank, but these were never used outside
the file that defines them.

Declare the function as static, drop it from the include file and
drop also the struct, not anymore visible outside the file.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Link: https://lore.kernel.org/20250610143042.295376-2-antonio.borneo@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c
drivers/pinctrl/stm32/pinctrl-stm32.h