]> git.baikalelectronics.ru Git - kernel.git/commit
staging: speakup: Use time_after_eq to compare jiffies in speakup_keypc.c
authorEsra Altintas <es.altintas@gmail.com>
Wed, 8 Oct 2014 11:32:10 +0000 (14:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:19 +0000 (10:29 +0800)
commitfb0f153db154e120651617cec30936ff01254d1b
treeea7a3784813d5922f21fd9840578a89542f1258d
parent137ed263c05448eea081c32328c093f68e681d90
staging: speakup: Use time_after_eq to compare jiffies in speakup_keypc.c

The following patch fixes the checkpatch.pl warning:
WARNING: Comparing jiffies is almost always wrong; prefer time_after,
time_before and friends

Signed-off-by: Esra Altintas <es.altintas@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/speakup_keypc.c