Nicolas Pitre 019a5f56ec 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 <nico@cam.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2007-10-11 19:09:08 +02:00
..
2007-09-23 09:15:12 +02:00
2007-10-03 18:40:05 +02:00
2007-09-23 22:17:27 +02:00
2007-10-11 19:09:08 +02:00
2007-07-26 01:53:31 +02:00
2007-09-23 08:46:48 +02:00
2007-10-10 20:13:29 +02:00
2007-10-03 18:40:49 +02:00
2007-10-03 18:40:19 +02:00
2007-10-11 19:09:08 +02:00
2007-09-23 09:15:05 +02:00
2007-07-26 01:53:31 +02:00