usb: host: ehci-sh: Remove unused platform data support
[linux-2.6-microblaze.git] / drivers / usb / host / ehci-sh.c
index 2afde14..c25c51d 100644 (file)
@@ -8,7 +8,6 @@
  */
 #include <linux/platform_device.h>
 #include <linux/clk.h>
-#include <linux/platform_data/ehci-sh.h>
 
 struct ehci_sh_priv {
        struct clk *iclk, *fclk;
@@ -76,7 +75,6 @@ static int ehci_hcd_sh_probe(struct platform_device *pdev)
 {
        struct resource *res;
        struct ehci_sh_priv *priv;
-       struct ehci_sh_platdata *pdata;
        struct usb_hcd *hcd;
        int irq, ret;
 
@@ -89,8 +87,6 @@ static int ehci_hcd_sh_probe(struct platform_device *pdev)
                goto fail_create_hcd;
        }
 
-       pdata = dev_get_platdata(&pdev->dev);
-
        /* initialize hcd */
        hcd = usb_create_hcd(&ehci_sh_hc_driver, &pdev->dev,
                             dev_name(&pdev->dev));
@@ -127,9 +123,6 @@ static int ehci_hcd_sh_probe(struct platform_device *pdev)
        clk_enable(priv->fclk);
        clk_enable(priv->iclk);
 
-       if (pdata && pdata->phy_init)
-               pdata->phy_init();
-
        ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
        if (ret != 0) {
                dev_err(&pdev->dev, "Failed to add hcd");