hpet: use for_each_set_bit()
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 15 Mar 2010 04:35:01 +0000 (00:35 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Mar 2010 01:43:47 +0000 (18:43 -0700)
commite5d6151115aee73825c1752aff7cd09adfece839
tree8ae10c1fba5dd52a7ee1a07c21dc3cb2fa742e40
parentc4af96449e20f9245cf3d904098db508cdebcda8
hpet: use for_each_set_bit()

Replace open-coded loop with for_each_set_bit().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Bob Picco <bob.picco@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/hpet.c