From: Patrice Chotard<patrice.chotard@xxxxxx>
As these 2 functions code are 95% similar, factorize them.
Signed-off-by: Patrice Chotard<patrice.chotard@xxxxxx>
---
drivers/pinctrl/stm32/pinctrl-stm32.c | 31 ++++++++++---------------------
1 file changed, 10 insertions(+), 21 deletions(-)