[SCSI] hpsa: use find_first_zero_bit
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 20 Jan 2012 15:15:27 +0000 (00:15 +0900)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:08:57 +0000 (08:08 -0600)
commit263d9401a332ccec8945841dbc57707dcba1ec7d
treeef1ea13bcc764a574a6b405e750d60abfaed46a1
parentde13e9654e308db6bde49c779410512ad9659bc0
[SCSI] hpsa: use find_first_zero_bit

Use find_first_zero_bit to find the first cleared bit in a memory region.

This also includes the following minor changes.
- Use bitmap_zero
- Reduce unnecessary atomic bitops usage

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c