pinctrl: abx500: Fix checking if pin use AlternateFunction register
authorAxel Lin <axel.lin@ingics.com>
Tue, 5 Mar 2013 06:58:53 +0000 (14:58 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Mar 2013 18:11:56 +0000 (19:11 +0100)
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>

No differences found