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

From: Maxime Coquelin
Date: Tue May 24 2016 - 08:05:01 EST




On 05/24/2016 01:57 PM, patrice.chotard@xxxxxx wrote:
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(-)

Acked-by: Maxime Coquelin <maxime.coquelin@xxxxxx>

Thanks!
Maxime