tegra: usb: make controller init functions more self contained
authorLucas Stach <dev@lynxeye.de>
Thu, 7 Feb 2013 07:16:25 +0000 (07:16 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:40 +0000 (11:06 -0700)
commitb0bbab8a149ad4c3f764fa7ecff79788769cab99
tree9688cb58c7cbd4bb90c80fa0047616818ab87205
parent2f3ec3402714d2ad20475b016487c7559ccba383
tegra: usb: make controller init functions more self contained

There is no need to pass around all those parameters. The init functions
are able to easily extract all the needed setup info on their own.

This allows to move out the controller init into ehci_hcd_init later
on, without having to save away global state for later use  and thus
bloating the file global state.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra20/usb.c