Input: use ABS_CNT rather than (ABS_MAX + 1)
commit81c2a3ba497835797332b517ebf2de7b7f2a7c80
authorDaniel Mack <daniel@caiaq.de>
Fri, 21 May 2010 05:52:58 +0000 (20 22:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 21 May 2010 06:05:28 +0000 (20 23:05 -0700)
treea7dee14c14bdf2a1d9a5aa99bf9625943ace70ba
parenta62f0d27b4196bad5e900d766b285feb7069cd16
Input: use ABS_CNT rather than (ABS_MAX + 1)

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/hid/hid-debug.c
drivers/input/joydev.c
drivers/input/misc/uinput.c
include/linux/input.h
include/linux/joystick.h
include/linux/uinput.h