Commit bd932278 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Greg Kroah-Hartman

USB: EHCI: ehci-mv: remove private_init

It's unused.
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0440fa3d
...@@ -203,9 +203,6 @@ static int mv_ehci_probe(struct platform_device *pdev) ...@@ -203,9 +203,6 @@ static int mv_ehci_probe(struct platform_device *pdev)
device_wakeup_enable(hcd->self.controller); device_wakeup_enable(hcd->self.controller);
} }
if (pdata->private_init)
pdata->private_init(ehci_mv->op_regs, ehci_mv->phy_regs);
dev_info(&pdev->dev, dev_info(&pdev->dev,
"successful find EHCI device with regs 0x%p irq %d" "successful find EHCI device with regs 0x%p irq %d"
" working in %s mode\n", hcd->regs, hcd->irq, " working in %s mode\n", hcd->regs, hcd->irq,
...@@ -260,7 +257,6 @@ static const struct platform_device_id ehci_id_table[] = { ...@@ -260,7 +257,6 @@ static const struct platform_device_id ehci_id_table[] = {
static void mv_ehci_shutdown(struct platform_device *pdev) static void mv_ehci_shutdown(struct platform_device *pdev)
{ {
struct usb_hcd *hcd = platform_get_drvdata(pdev); struct usb_hcd *hcd = platform_get_drvdata(pdev);
struct ehci_hcd_mv *ehci_mv = hcd_to_ehci_hcd_mv(hcd);
if (!hcd->rh_registered) if (!hcd->rh_registered)
return; return;
......
...@@ -48,6 +48,5 @@ struct mv_usb_platform_data { ...@@ -48,6 +48,5 @@ struct mv_usb_platform_data {
int (*phy_init)(void __iomem *regbase); int (*phy_init)(void __iomem *regbase);
void (*phy_deinit)(void __iomem *regbase); void (*phy_deinit)(void __iomem *regbase);
int (*set_vbus)(unsigned int vbus); int (*set_vbus)(unsigned int vbus);
int (*private_init)(void __iomem *opregs, void __iomem *phyregs);
}; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment