From: Nicolas Pitre Date: Thu, 11 Oct 2007 05:06:03 +0000 (-0400) Subject: mmc: don't use weight32() X-Git-Tag: v2.6.24-rc1~1464^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019a5f56ec195aceadada18aaaad0f67294bdaef;p=pandora-kernel.git mmc: don't use weight32() Using weight32() to determine if a value is a power of 2 is a rather heavi weight solution. The classic idiom is (x & (x - 1)) == 0, but the kernel already provide a is_power_of_2 function for it. Signed-off-by: Nicolas Pitre Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed