]> git.karo-electronics.de Git - linux-beck.git/commit
usb: host: max3421-hcd: use time_after()
authorAsaf Vertz <asaf.vertz@tandemg.com>
Mon, 15 Dec 2014 07:22:07 +0000 (09:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 19:37:18 +0000 (11:37 -0800)
commit788bfe88d552b89842b028ca78e5451a1e64b21b
treee0ed2f1078d95e72ded96c1838ebbb7de55ac2f2
parent5efd2ea8c9f4f12916ffc8ba636792ce052f6911
usb: host: max3421-hcd: use time_after()

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

Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com>
Acked-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/max3421-hcd.c