diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-22 10:39:39 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-22 10:39:39 +0100 |
commit | a97e0b863eefb4a1025e39429cabf67b3ea34b72 (patch) | |
tree | 06b7aeb8e72da446529522ad3b4450b3d287e837 /drivers/usb/host/ehci-atmel.c | |
parent | 2b1f426e511bf5b41c84d05ec09949ebd5dc216e (diff) | |
parent | 9ccf645bfaee366acd8dbd6b270717dae94f5347 (diff) | |
download | barebox-a97e0b863eefb4a1025e39429cabf67b3ea34b72.tar.gz barebox-a97e0b863eefb4a1025e39429cabf67b3ea34b72.tar.xz |
Merge branch 'for-next/usb'
Diffstat (limited to 'drivers/usb/host/ehci-atmel.c')
-rw-r--r-- | drivers/usb/host/ehci-atmel.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index 192c5ef9d1..c3f8ab7ad5 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c @@ -57,13 +57,6 @@ static void atmel_stop_clock(struct atmel_ehci_priv *atehci) clk_disable(atehci->uclk); } -static int atmel_ehci_detect(struct device_d *dev) -{ - struct atmel_ehci_priv *atehci = dev->priv; - - return ehci_detect(atehci->ehci); -} - static int atmel_ehci_probe(struct device_d *dev) { int ret; @@ -78,7 +71,6 @@ static int atmel_ehci_probe(struct device_d *dev) atehci = xzalloc(sizeof(*atehci)); atehci->dev = dev; dev->priv = atehci; - dev->detect = atmel_ehci_detect; atehci->iclk = clk_get(dev, "ehci_clk"); if (IS_ERR(atehci->iclk)) { |