]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0c25dd28340222f9b316f143f0294b513b1f9a4
tree1cee6936f07f028fbacfbae7604b37c1c4dadaba
parented1b93565fd054a9f9188ed91da9d5f1e6ee90ed
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