From: anish kumar Date: Wed, 29 Aug 2012 19:05:10 +0000 (+0530) Subject: extcon: optimising the check_mutually_exclusive function X-Git-Tag: v3.7-rc3~15^2~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28c0ada62d39eaafef03d88a4e6f4c5bcb6e1b6c;p=pandora-kernel.git extcon: optimising the check_mutually_exclusive function Rather than re-inventing the wheel we can use the hamming function to calculate the number of bits set to check for violation of exclusivity. Signed-off-by: anish kumar Signed-off-by: MyungJoo Ham --- Reading git-diff-tree failed