mtd: vmu-flash: Use hweight_long
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 20 Nov 2009 05:56:07 +0000 (14:56 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 20 Nov 2009 10:31:23 +0000 (10:31 +0000)
commit782e5711d61b2cda45dea447badba3ab07c236f0
tree3b3916786274f09ec5e1cbeab4c564e6990caff6
parent8ce110ac19bc88b82e3feacfbb3a2ee08a07fe22
mtd: vmu-flash: Use hweight_long

Use hweight_long instead of Brian Kernighan's/Peter Wegner's method

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/vmu-flash.c