]> git.baikalelectronics.ru Git - kernel.git/commit
Input: analog - always use ktime functions
authorGuenter Roeck <linux@roeck-us.net>
Wed, 8 Sep 2021 01:37:08 +0000 (18:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Sep 2021 06:39:47 +0000 (23:39 -0700)
commit98815a1ba1aefc2f83d6fcb38585041d06d0a13e
tree520a80403b97a3eeb4742bf3e7250774f8d7b990
parenta85aae316f22ef9fc5a7479828f14cb5cd7a90e6
Input: analog - always use ktime functions

m68k, mips, s390, and sparc allmodconfig images fail to build with the
following error.

drivers/input/joystick/analog.c:160:2: error:
#warning Precise timer not defined for this architecture.

Remove architecture specific time handling code and always use ktime
functions to determine time deltas. Also remove the now useless use_ktime
kernel parameter.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20210907123734.21520-1-linux@roeck-us.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/analog.c