staging: brcm80211: replace brcmu_bitcount with hweight8
commite6cfdf6850ac5557ef6b660d30a5809822cb8bfb
authorArend van Spriel <arend@broadcom.com>
Tue, 4 Oct 2011 21:18:51 +0000 (4 23:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:39:01 +0000 (5 13:39 -0700)
tree15ef46c683094f167750ef8b26bb73adad37d460
parent412e4fdf124a6747d789035fa641c06243afaabf
staging: brcm80211: replace brcmu_bitcount with hweight8

The kernel provides bit operations to replace brcmu_bitcount so
using those instead.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c
drivers/staging/brcm80211/brcmsmac/stf.c