]> git.baikalelectronics.ru Git - kernel.git/commit
Input: hp_sdc - convert to ktime_get()
authorArnd Bergmann <arnd@arndb.de>
Tue, 2 Jan 2018 05:32:02 +0000 (21:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 Jan 2018 05:39:12 +0000 (21:39 -0800)
commit25c3ad905678b997efdfaa51f0469555095fad7e
treec89a22a9aba9732f781eae65df3987a3f250915d
parent4564cec583eb9825ca734c248a974670678f2f8a
Input: hp_sdc - convert to ktime_get()

This gets rid of the deprecated do_gettimeofday() call in favor
of ktime_get(), which is also more reliable as it uses monotonic
times. The code now gets a bit simpler.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Patchwork-Id: 10076621
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/hp_sdc.c
include/linux/hp_sdc.h