usb: common: Use a global definition for 'min3'
authorVivek Gautam <gautam.vivek@samsung.com>
Wed, 24 Apr 2013 02:50:13 +0000 (02:50 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 6 May 2013 00:16:37 +0000 (02:16 +0200)
commit4f4eab4d14b181c3a9447c75fd2b41b9d0d761e4
tree9d909117695b3a2084674c72285a04e8382c3579
parent55f4b57542de9f4bee8dc0b7ca70686bd20e2aa4
usb: common: Use a global definition for 'min3'

We can use a common global method for calculating minimum of
3 numbers. Put the same in 'common header' and let 'ehci'
use it.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Acked-by: Tom Rini <trini@ti.com>
drivers/usb/host/ehci-hcd.c
include/common.h