We should stop using bus_id to pass the device
name, dev_name() should be used instead.

Cleanup only.

Signed-off-by: Felipe Balbi <m...@felipebalbi.com>
---
 drivers/usb/host/ehci-omap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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;
 
-- 
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to