Input: ff-core - use for_each_set_bit where appropriate
authorAnshul Garg <aksgarg1989@gmail.com>
Wed, 8 Jul 2015 23:43:20 +0000 (16:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Jul 2015 04:50:59 +0000 (21:50 -0700)
commit948cea14487af7d6e8b8007dc24a5361869f410b
tree1cee6936f07f028fbacfbae7604b37c1c4dadaba
parentf23487cdbe3bd002e99f41250143014e522c34de
Input: ff-core - use for_each_set_bit where appropriate

Use for_each_set_bit to check for set bits in bitmap
as it is more efficient than checking individual bits.

Signed-off-by: Anshul Garg <aksgarg1989@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/ff-core.c