From: Axel Lin Date: Tue, 5 Mar 2013 06:58:53 +0000 (+0800) Subject: pinctrl: abx500: Fix checking if pin use AlternateFunction register X-Git-Tag: v3.9-rc5~35^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a40cdd5440d7b61a349bc04e85eed4fa7c24a3c;p=pandora-kernel.git 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 Acked-by: Patrice Chotard Signed-off-by: Linus Walleij --- Reading git-diff-tree failed