]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: stm32: Update stm32_pinctrl_get_gpio_dev()
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 3 Dec 2018 09:52:54 +0000 (10:52 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Dec 2018 13:13:48 +0000 (08:13 -0500)
commit530b63c2286d8c19b20a15ca57e20af6c0f08739
tree4ad7930200f4d4d48bb54c984d1dae28df2d00b8
parent8b6d45ab6457704cb9b47d7aef02a40192a43da7
pinctrl: stm32: Update stm32_pinctrl_get_gpio_dev()

Due to gpio holes management, stm32_pinctrl_get_gpio_dev() must
be updated.

stm32_pinctrl_get_gpio_dev() returns from a given pin selectors
the corresponding bank gpio device and the gpio_offset inside this
gpio bank.

Update also all functions which makes usage of stm32_pinctrl_get_gpio_dev.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/pinctrl/pinctrl_stm32.c