usb: phy: msm: Move mach dependent code to platform data
authorIvan T. Ivanov <iivanov@mm-sol.com>
Mon, 30 Dec 2013 21:15:27 +0000 (13:15 -0800)
committerOlof Johansson <olof@lixom.net>
Thu, 9 Jan 2014 08:06:48 +0000 (00:06 -0800)
commit5146d7714302f0b5dff7c591c6de947067669ca3
tree2ef0b29f1bae62ecb13a4064117f2492fb24435d
parent21dea66951342ec514ad498eda843cf633a13634
usb: phy: msm: Move mach dependent code to platform data

This patch fix compilation error when driver is compiled
in multi-platform builds.

drivers/built-in.o: In function `msm_otg_link_clk_reset':
./drivers/usb/phy/phy-msm-usb.c:314: undefined reference to `clk_reset'
./drivers/usb/phy/phy-msm-usb.c:318: undefined reference to `clk_reset'

Use platform data supplied reset handlers and adjust error
messages reported when reset sequence fail.

This is an intermediate step before adding support for reset
framework and newer targets.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Acked-by: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
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