diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-05 14:58:53 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-13 19:11:56 +0100 |
commit | 6a40cdd5440d7b61a349bc04e85eed4fa7c24a3c (patch) | |
tree | fdd255a5d34b36534334757e89cba30968603908 /drivers/mfd/tc6393xb.c | |
parent | ad4e1a7caf937ad395ced585ca85a7d14395dc80 (diff) | |
download | talos-op-linux-6a40cdd5440d7b61a349bc04e85eed4fa7c24a3c.tar.gz talos-op-linux-6a40cdd5440d7b61a349bc04e85eed4fa7c24a3c.zip |
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>
Diffstat (limited to 'drivers/mfd/tc6393xb.c')
0 files changed, 0 insertions, 0 deletions