diff options
author | Felipe Balbi <balbi@ti.com> | 2011-10-12 11:44:56 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 13:48:11 +0400 |
commit | 0949e99b05736946cf0ac78e37194be0807e497e (patch) | |
tree | f3719f4e0b57c49bcd47d6a0c5594e2577192f03 /drivers/usb/dwc3/dwc3-omap.c | |
parent | 9f622b2a407d8b34a5a7f5b4abd8b29b25cf4f32 (diff) | |
download | linux-0949e99b05736946cf0ac78e37194be0807e497e.tar.xz |
usb: dwc3: fetch mode of operation from HW
There's no need to add driver_data for something
we can fetch from HW.
This also makes our id_table unnecessary - at least
for now -, so we also remove it on the same patch.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-omap.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 062552b5fc8a..7bcf6775a1a1 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c @@ -236,7 +236,7 @@ static int __devinit dwc3_omap_probe(struct platform_device *pdev) goto err1; } - dwc3 = platform_device_alloc("dwc3-omap", -1); + dwc3 = platform_device_alloc("dwc3", -1); if (!dwc3) { dev_err(&pdev->dev, "couldn't allocate dwc3 device\n"); goto err2; |