aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r--drivers/usb/musb/musb_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 5280dba9b1fb..0b742ebe5c8c 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1781,7 +1781,7 @@ allocate_instance(struct device *dev,
1781#ifdef CONFIG_USB_MUSB_HDRC_HCD 1781#ifdef CONFIG_USB_MUSB_HDRC_HCD
1782 struct usb_hcd *hcd; 1782 struct usb_hcd *hcd;
1783 1783
1784 hcd = usb_create_hcd(&musb_hc_driver, dev, dev->bus_id); 1784 hcd = usb_create_hcd(&musb_hc_driver, dev, dev_name(dev));
1785 if (!hcd) 1785 if (!hcd)
1786 return NULL; 1786 return NULL;
1787 /* usbcore sets dev->driver_data to hcd, and sometimes uses that... */ 1787 /* usbcore sets dev->driver_data to hcd, and sometimes uses that... */
@@ -1984,7 +1984,7 @@ bad_config:
1984 INIT_WORK(&musb->irq_work, musb_irq_work); 1984 INIT_WORK(&musb->irq_work, musb_irq_work);
1985 1985
1986 /* attach to the IRQ */ 1986 /* attach to the IRQ */
1987 if (request_irq(nIrq, musb->isr, 0, dev->bus_id, musb)) { 1987 if (request_irq(nIrq, musb->isr, 0, dev_name(dev), musb)) {
1988 dev_err(dev, "request_irq %d failed!\n", nIrq); 1988 dev_err(dev, "request_irq %d failed!\n", nIrq);
1989 status = -ENODEV; 1989 status = -ENODEV;
1990 goto fail2; 1990 goto fail2;