Commit d69292a8 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Felipe Balbi

usb: isp1760: Remove busname argument to isp1760_register

The argument is unused, remove it.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5a6356ac
...@@ -2213,7 +2213,7 @@ void isp1760_deinit_kmem_cache(void) ...@@ -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, int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq,
unsigned long irqflags, struct device *dev, unsigned long irqflags, struct device *dev,
const char *busname, unsigned int devflags) unsigned int devflags)
{ {
struct usb_hcd *hcd; struct usb_hcd *hcd;
struct isp1760_hcd *priv; struct isp1760_hcd *priv;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/* exports for if */ /* exports for if */
int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq, int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq,
unsigned long irqflags, struct device *dev, unsigned long irqflags, struct device *dev,
const char *busname, unsigned int devflags); unsigned int devflags);
void isp1760_unregister(struct device *dev); void isp1760_unregister(struct device *dev);
int isp1760_init_kmem_once(void); int isp1760_init_kmem_once(void);
......
...@@ -134,8 +134,7 @@ static int isp1761_pci_probe(struct pci_dev *dev, ...@@ -134,8 +134,7 @@ static int isp1761_pci_probe(struct pci_dev *dev,
dev->dev.dma_mask = NULL; dev->dev.dma_mask = NULL;
ret_status = isp1760_register(pci_mem_phy0, memlength, dev->irq, ret_status = isp1760_register(pci_mem_phy0, memlength, dev->irq,
IRQF_SHARED, &dev->dev, IRQF_SHARED, &dev->dev, devflags);
dev_name(&dev->dev), devflags);
if (ret_status < 0) if (ret_status < 0)
goto cleanup3; goto cleanup3;
...@@ -259,8 +258,7 @@ static int isp1760_plat_probe(struct platform_device *pdev) ...@@ -259,8 +258,7 @@ static int isp1760_plat_probe(struct platform_device *pdev)
} }
ret = isp1760_register(mem_res->start, mem_size, irq_res->start, ret = isp1760_register(mem_res->start, mem_size, irq_res->start,
irqflags, &pdev->dev, dev_name(&pdev->dev), irqflags, &pdev->dev, devflags);
devflags);
if (ret < 0) if (ret < 0)
goto cleanup; goto cleanup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment