Axel Lin 6a40cdd544 pinctrl: abx500: Fix checking if pin use AlternateFunction register
It's pointless to check "af.alt_bit1 == UNUSED" twice.
This looks like a copy-paste bug, I think what we want is to check if *both*
af.alt_bit1 and af.alt_bit2 are UNUSED.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-13 19:11:56 +01:00
..
2013-02-10 21:11:54 +01:00
2013-02-10 21:11:54 +01:00
2013-02-21 15:00:16 -08:00
2013-02-21 15:00:16 -08:00
2012-05-02 01:18:27 +02:00
2013-02-21 12:05:51 -08:00