gpio: stm32f7: Add ops get_function
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 24 Oct 2018 12:10:21 +0000 (14:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:56 +0000 (16:51 -0500)
commitcad732499ba1aef2ea9288b30428465793b2d013
treefe26538407d26508ccd6bae3603ec0d422265fa1
parentb42d938c247dd956a04d533dfc9f5c0ecf287ff2
gpio: stm32f7: Add ops get_function

This patch adds gpio get_function ops support.
This function reports the state of a gpio.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/gpio/stm32f7_gpio.c