usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode
authorIvan T. Ivanov <iivanov@mm-sol.com>
Mon, 28 Apr 2014 13:34:11 +0000 (16:34 +0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 30 Apr 2014 16:28:43 +0000 (11:28 -0500)
commit971232cf7c7a71ad3cbf433f592eee3ae1a578ac
tree646929ed73c9cd216800a5b423895018f71af6d0
parent3aca0fa95f61918d5b78b683c0fbcbf693579f81
usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode

Use enum usb_dr_mode and drop default usb_dr_mode from platform data.

USB DT bindings states: dr_mode: "...In case this attribute isn't
passed via DT, USB DRD controllers should default to OTG...",
so remove redundand field.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/mach-msm/board-msm7x30.c
arch/arm/mach-msm/board-qsd8x50.c
drivers/usb/phy/phy-msm-usb.c
include/linux/usb/msm_hsusb.h