diff options
author | Tuomas Tynkkynen <ttynkkynen@nvidia.com> | 2013-07-25 14:38:03 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 06:58:22 -0400 |
commit | d506427945089ced99cfbc5f53dd5adc5d34a5cd (patch) | |
tree | 9e0799b0925f4b9b33dc93f1342a79badc8bf8c3 /drivers/usb/host | |
parent | de3f233703080bfbbd5861d27660db7a2e476238 (diff) |
usb: tegra: host: Remove references to plat data
Platform data is not used in tegra-ehci anymore, so remove all
references to it.
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 06e8febdcc2c..a208cea4e4c7 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <linux/of.h> | 27 | #include <linux/of.h> |
28 | #include <linux/of_gpio.h> | 28 | #include <linux/of_gpio.h> |
29 | #include <linux/platform_device.h> | 29 | #include <linux/platform_device.h> |
30 | #include <linux/platform_data/tegra_usb.h> | ||
31 | #include <linux/pm_runtime.h> | 30 | #include <linux/pm_runtime.h> |
32 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
33 | #include <linux/usb/ehci_def.h> | 32 | #include <linux/usb/ehci_def.h> |
@@ -327,18 +326,11 @@ static int tegra_ehci_probe(struct platform_device *pdev) | |||
327 | struct usb_hcd *hcd; | 326 | struct usb_hcd *hcd; |
328 | struct ehci_hcd *ehci; | 327 | struct ehci_hcd *ehci; |
329 | struct tegra_ehci_hcd *tegra; | 328 | struct tegra_ehci_hcd *tegra; |
330 | struct tegra_ehci_platform_data *pdata; | ||
331 | int err = 0; | 329 | int err = 0; |
332 | int irq; | 330 | int irq; |
333 | struct device_node *np_phy; | 331 | struct device_node *np_phy; |
334 | struct usb_phy *u_phy; | 332 | struct usb_phy *u_phy; |
335 | 333 | ||
336 | pdata = pdev->dev.platform_data; | ||
337 | if (!pdata) { | ||
338 | dev_err(&pdev->dev, "Platform data missing\n"); | ||
339 | return -EINVAL; | ||
340 | } | ||
341 | |||
342 | /* Right now device-tree probed devices don't get dma_mask set. | 334 | /* Right now device-tree probed devices don't get dma_mask set. |
343 | * Since shared usb code relies on it, set it here for now. | 335 | * Since shared usb code relies on it, set it here for now. |
344 | * Once we have dma capability bindings this can go away. | 336 | * Once we have dma capability bindings this can go away. |