[PATCH 2/2] pinctrl: stm32: factorize stm32_pconf_input/output_get()

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

[PATCH 2/2] pinctrl: stm32: factorize stm32_pconf_input/output_get()

2016-05-12 Thread patrice.chotard
From: Patrice Chotard As these 2 functions code are 95% similar, factorize them. Signed-off-by: Patrice Chotard --- drivers/pinctrl/stm32/pinctrl-stm32.c | 31 ++- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c