misc: sgi-gru: use time_before()
authorManuel Schölling <manuel.schoelling@gmx.de>
Mon, 21 Sep 2015 10:18:17 +0000 (15:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:55:59 +0000 (12:55 +0100)
commitb74afe5892ddcc46281a9038563afad78afb48fb
tree4a16e1daef12fbc96603e20c050e23086f7c58c4
parentd18243293a48cddf0a91d19b3da18551e18419b5
misc: sgi-gru: use time_before()

To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sgi-gru/grumain.c