usb: chipidea: move platform related things to ci_get_platdata
authorPeter Chen <peter.chen@freescale.com>
Tue, 17 Sep 2013 04:37:22 +0000 (12:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:23:27 +0000 (17:23 -0700)
commitc22600c3ea1d706cfb0fc4a540c4fb356f7ca814
tree1b5cc22d0ea342f4af80354ecfd9d73108572be8
parent92b336d7f665c39cc3be774b3d051fe40bf35e5c
usb: chipidea: move platform related things to ci_get_platdata

Like vbus, the dr_mode and phy_mode are also got from glue layer's
platform data or device node.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c