Anshul Garg
3e2b03dad5
Input: use for_each_set_bit() where appropriate
...
Instead of iterating over all bits in a bitmap and test them individually
let's siwtch to for_each_set_bit() which is more compact and is also
faster.
Also use bitmap_weight() when counting number of set bits.
This also fixes INPUT_DO_TOGGLE() implementation as it should have used
*_CNT as the upper boundary, not *_MAX.
Signed-off-by: Anshul Garg <aksgarg1989@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-06-25 14:44:36 -07:00
..
gameport
Input: initialize device counter variables with -1
2014-12-03 15:27:17 -08:00
joystick
Input: xpad - re-send LED command on present event
2015-06-22 14:24:58 -07:00
keyboard
Input: imx_keypad - check for clk_prepare_enable() error
2015-06-22 09:33:51 -07:00
misc
Input: axp20x-pek - fix reporting button state as inverted
2015-06-24 14:55:53 -07:00
mouse
Input: elan_i2c - add product IDs FW names
2015-06-08 17:12:25 -07:00
serio
Input: gscps2 - drop pci_ids dependency
2015-04-06 09:38:08 -07:00
tablet
Input: gtco - use sign_extend32() for sign extension
2015-01-26 23:07:45 -08:00
touchscreen
Input: add a driver for wdt87xx touchscreen controller
2015-06-24 14:55:54 -07:00
apm-power.c
evbug.c
evdev.c
Input: evdev - use kvfree() in evdev_release()
2015-05-15 15:58:39 -07:00
ff-core.c
Input: ff-core - fix typo in comment to input_ff_erase()
2015-05-20 14:45:42 -07:00
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
Input: export LEDs as class devices in sysfs
2015-06-11 18:18:11 -07:00
input-mt.c
Input: MT - make slot assignment work for overcovered solutions
2015-04-06 09:37:33 -07:00
input-polldev.c
Input: implement managed polled input devices
2014-05-14 16:40:04 -07:00
input.c
Input: use for_each_set_bit() where appropriate
2015-06-25 14:44:36 -07:00
joydev.c
Kconfig
Input: export LEDs as class devices in sysfs
2015-06-11 18:18:11 -07:00
Makefile
Input: export LEDs as class devices in sysfs
2015-06-11 18:18:11 -07:00
matrix-keymap.c
mousedev.c
Input: mousedev - fix race when creating mixed device
2014-03-29 14:44:23 -07:00
sparse-keymap.c
treewide: Fix typo in Documentation/DocBook
2014-02-19 14:58:17 +01:00