Message ID | 1235415335-17408-3-git-send-email-me@felipebalbi.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Felipe Balbi |
Headers | show |
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 88ed500..3dd4a68 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -428,7 +428,8 @@ static int ehci_hcd_omap_drv_probe(struct platform_device *dev) retval = -ENOMEM; } - hcd = usb_create_hcd(&ehci_omap_hc_driver, &dev->dev, dev->dev.bus_id); + hcd = usb_create_hcd(&ehci_omap_hc_driver, &dev->dev, + dev_name(&dev->dev)); if (!hcd) return -ENOMEM;
We should stop using bus_id to pass the device name, dev_name() should be used instead. Cleanup only. Signed-off-by: Felipe Balbi <me@felipebalbi.com> --- drivers/usb/host/ehci-omap.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)