usb: phy: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 30 Jul 2013 08:02:13 +0000 (17:02 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 30 Jul 2013 08:18:53 +0000 (11:18 +0300)
commit19f9e188deb4bbcd5fc588f39dc63bdfa9103827
tree85f46dedb19e8604aa0259cce9a7471761783389
parente01ee9f509a927158f670408b41127d4166db1c7
usb: phy: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
12 files changed:
drivers/usb/phy/phy-fsl-usb.c
drivers/usb/phy/phy-gpio-vbus-usb.c
drivers/usb/phy/phy-msm-usb.c
drivers/usb/phy/phy-mv-u3d-usb.c
drivers/usb/phy/phy-mv-usb.c
drivers/usb/phy/phy-nop.c
drivers/usb/phy/phy-omap-control.c
drivers/usb/phy/phy-rcar-usb.c
drivers/usb/phy/phy-samsung-usb2.c
drivers/usb/phy/phy-samsung-usb3.c
drivers/usb/phy/phy-twl4030-usb.c
drivers/usb/phy/phy-twl6030-usb.c