mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 09:09:55 -04:00
pinctrl: st: Drop unused st_gpio_bank() function
Static inline st_gpio_bank() function is not referenced:
pinctrl-st.c:377:19: error: unused function 'st_gpio_bank' [-Werror,-Wunused-function]
Fixes: 701016c0cb ("pinctrl: st: Add pinctrl and pinconf support.")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20250528092201.52132-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
315345610f
commit
fcd65d65fd
@@ -374,11 +374,6 @@ static struct st_pio_control *st_get_pio_control(
|
||||
}
|
||||
|
||||
/* Low level functions.. */
|
||||
static inline int st_gpio_bank(int gpio)
|
||||
{
|
||||
return gpio/ST_GPIO_PINS_PER_BANK;
|
||||
}
|
||||
|
||||
static inline int st_gpio_pin(int gpio)
|
||||
{
|
||||
return gpio%ST_GPIO_PINS_PER_BANK;
|
||||
|
||||
Reference in New Issue
Block a user