Input: remove CLOCK_TICK_RATE from analog joystick driver
authorDeepak Saxena <dsaxena@linaro.org>
Fri, 5 Aug 2011 06:39:58 +0000 (23:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 5 Aug 2011 06:41:36 +0000 (23:41 -0700)
commit18b08c55a9b04c8783420fb6657599ad724459cc
tree027ee407c01ca41d5a2ac2b0746668571e634937
parent4fecc2088fd02ce8a6580c12822987d3c6bab9b8
Input: remove CLOCK_TICK_RATE from analog joystick driver

The analog joystick driver is written for x86 systems. This
patch updates it to use the PIT_TICK_RATE value instead of
CLOCK_TICK_RATE as they are equivalent on x86 and we want to
deprecate the latter.

Signed-off-by: Deepak Saxena <dsaxena@linaro.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/analog.c