gpio: stm32f7: Add ops get_function
authorPatrice Chotard <[email protected]>
Wed, 24 Oct 2018 12:10:21 +0000 (14:10 +0200)
committerTom Rini <[email protected]>
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
drivers/gpio/stm32f7_gpio.c