Input: joystick - use get_cycles on ARMv8
authorMark Brown <broonie@linaro.org>
Mon, 11 Aug 2014 18:08:56 +0000 (11:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Aug 2014 16:59:40 +0000 (09:59 -0700)
commita6b48699ae50ccce700506ced863ba1f5ce2af11
treeefa177782f3e52745b626327e2ee0200063d6499
parent41a7458147a435e082ceccd3a7d46f3390ea90f3
Input: joystick - use get_cycles on ARMv8

As with ARM the ARMv8 architecture provides a cycle counter which can be
used to provide a high resolution time for the joystick driver and
silence the build warning that results from not having a precise timer
on ARMv8, making allmodconfig and allyesconfig quieter.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/analog.c