USB: EHCI: use min3 from Linux
EHCI HCD has a private version of min3() determining the smallest
number out of 3. We already have min()/max() imported from Linux,
also get min3()/max3() and use it instead of EHCI's private one.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 418add6 commit 343ccff163789949f2c683dcea819ceb68dbcf02
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 26 Jul 2014
Sascha Hauer committed on 28 Jul 2014
Showing 2 changed files
View
drivers/usb/host/ehci-hcd.c
View
include/linux/kernel.h