usb: isp1760: Remove busname argument to isp1760_register
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 20 Jan 2015 22:55:50 +0000 (00:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Jan 2015 15:38:46 +0000 (09:38 -0600)
The argument is unused, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/isp1760-hcd.c
drivers/usb/host/isp1760-hcd.h
drivers/usb/host/isp1760-if.c

index 0ae1719efb2b3f7237465cee87759ddfc4af5ae9..9ba3023130ebd3fff32e489d3e5e72deb804306d 100644 (file)
@@ -2213,7 +2213,7 @@ void isp1760_deinit_kmem_cache(void)
 
 int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq,
                     unsigned long irqflags, struct device *dev,
-                    const char *busname, unsigned int devflags)
+                    unsigned int devflags)
 {
        struct usb_hcd *hcd;
        struct isp1760_hcd *priv;
index f97c9d62559511f681a07f4c2c330c2018e4b308..cc656028eb3dc9a08545721044a600ff70ea4f3d 100644 (file)
@@ -4,7 +4,7 @@
 /* exports for if */
 int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq,
                     unsigned long irqflags, struct device *dev,
-                    const char *busname, unsigned int devflags);
+                    unsigned int devflags);
 void isp1760_unregister(struct device *dev);
 
 int isp1760_init_kmem_once(void);
index e268b20a1cb0f2be9f90cf0cf1728da48f5fe87e..ce572cc5ea507c8149ea9bc7a02d2f7e3187d850 100644 (file)
@@ -134,8 +134,7 @@ static int isp1761_pci_probe(struct pci_dev *dev,
 
        dev->dev.dma_mask = NULL;
        ret_status = isp1760_register(pci_mem_phy0, memlength, dev->irq,
-                                     IRQF_SHARED, &dev->dev,
-                                     dev_name(&dev->dev), devflags);
+                                     IRQF_SHARED, &dev->dev, devflags);
        if (ret_status < 0)
                goto cleanup3;
 
@@ -259,8 +258,7 @@ static int isp1760_plat_probe(struct platform_device *pdev)
        }
 
        ret = isp1760_register(mem_res->start, mem_size, irq_res->start,
-                              irqflags, &pdev->dev, dev_name(&pdev->dev),
-                              devflags);
+                              irqflags, &pdev->dev, devflags);
        if (ret < 0)
                goto cleanup;
 
This page took 0.030684 seconds and 5 git commands to generate.