usb: Make use of ktime_* comparison functions
authorMariusz Skamra <mariuszx.skamra@intel.com>
Fri, 26 May 2017 10:15:59 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 09:08:04 +0000 (18:08 +0900)
commitfa72e6afa795dbb35d0cc6332606e83e4415e45e
tree53092ad9c42474e38982c96adb4b12b2abe5a26a
parentbab3548078237706f53baafe43ae58257225549d
usb: Make use of ktime_* comparison functions

Start using ktime_* compare functions to make the code backportable.
Now that may be a bit tricky due to recent change of ktime_t.

Signed-off-by: Mariusz Skamra <mariuszx.skamra@intel.com>
Acked-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/otg_fsm.c
drivers/usb/host/ehci-timer.c
drivers/usb/host/fotg210-hcd.c