]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: joydev - use for_each_set_bit where appropriate
authorAnshul Garg <aksgarg1989@gmail.com>
Wed, 8 Jul 2015 23:41:39 +0000 (16:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Jul 2015 04:50:58 +0000 (21:50 -0700)
commitf23487cdbe3bd002e99f41250143014e522c34de
treeb81d5e202ea6b62e15e6bf94ecb53764e8a8a646
parentec0843fabe29ad44bdaaa16c8d6cda4537716de5
Input: joydev - 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/joydev.c