]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sata_mv use hweight16() for bit counting (V2)
authorMark Lord <liml@rtr.ca>
Fri, 2 May 2008 18:02:28 +0000 (14:02 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 15:38:25 +0000 (11:38 -0400)
commitc46938ccfe35a58a0873715ee4c26fc9eb8d87b3
tree786202a85f5a93bc4514dfa395929a0396cfacb9
parent4c299ca3649ccf666819e7d4a27a68c39fa174f1
sata_mv use hweight16() for bit counting (V2)

Some tidying as suggested by Grant Grundler.

Nuke local bit-counting function from sata_mv in favour of using hweight16().
Also add a short explanation for the 15msec timeout used when waiting for empty/idle.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c