diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-20 17:55:50 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 10:38:46 -0500 |
commit | d69292a8f5eed074412b70bb59b745fc17213661 (patch) | |
tree | 3eb9ad0a10d77c84f3c4707f5eab3fa11532e9c3 | |
parent | 5a6356ac62c8fa732e260123feb73655f7d919e6 (diff) |
usb: isp1760: Remove busname argument to isp1760_register
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>
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/isp1760-hcd.h | 2 | ||||
-rw-r--r-- | drivers/usb/host/isp1760-if.c | 6 |
3 files changed, 4 insertions, 6 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index 0ae1719efb2b..9ba3023130eb 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c | |||
@@ -2213,7 +2213,7 @@ void isp1760_deinit_kmem_cache(void) | |||
2213 | 2213 | ||
2214 | int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq, | 2214 | int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq, |
2215 | unsigned long irqflags, struct device *dev, | 2215 | unsigned long irqflags, struct device *dev, |
2216 | const char *busname, unsigned int devflags) | 2216 | unsigned int devflags) |
2217 | { | 2217 | { |
2218 | struct usb_hcd *hcd; | 2218 | struct usb_hcd *hcd; |
2219 | struct isp1760_hcd *priv; | 2219 | struct isp1760_hcd *priv; |
diff --git a/drivers/usb/host/isp1760-hcd.h b/drivers/usb/host/isp1760-hcd.h index f97c9d625595..cc656028eb3d 100644 --- a/drivers/usb/host/isp1760-hcd.h +++ b/drivers/usb/host/isp1760-hcd.h | |||
@@ -4,7 +4,7 @@ | |||
4 | /* exports for if */ | 4 | /* exports for if */ |
5 | int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq, | 5 | int isp1760_register(phys_addr_t res_start, resource_size_t res_len, int irq, |
6 | unsigned long irqflags, struct device *dev, | 6 | unsigned long irqflags, struct device *dev, |
7 | const char *busname, unsigned int devflags); | 7 | unsigned int devflags); |
8 | void isp1760_unregister(struct device *dev); | 8 | void isp1760_unregister(struct device *dev); |
9 | 9 | ||
10 | int isp1760_init_kmem_once(void); | 10 | int isp1760_init_kmem_once(void); |
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index e268b20a1cb0..ce572cc5ea50 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c | |||
@@ -134,8 +134,7 @@ static int isp1761_pci_probe(struct pci_dev *dev, | |||
134 | 134 | ||
135 | dev->dev.dma_mask = NULL; | 135 | dev->dev.dma_mask = NULL; |
136 | ret_status = isp1760_register(pci_mem_phy0, memlength, dev->irq, | 136 | ret_status = isp1760_register(pci_mem_phy0, memlength, dev->irq, |
137 | IRQF_SHARED, &dev->dev, | 137 | IRQF_SHARED, &dev->dev, devflags); |
138 | dev_name(&dev->dev), devflags); | ||
139 | if (ret_status < 0) | 138 | if (ret_status < 0) |
140 | goto cleanup3; | 139 | goto cleanup3; |
141 | 140 | ||
@@ -259,8 +258,7 @@ static int isp1760_plat_probe(struct platform_device *pdev) | |||
259 | } | 258 | } |
260 | 259 | ||
261 | ret = isp1760_register(mem_res->start, mem_size, irq_res->start, | 260 | ret = isp1760_register(mem_res->start, mem_size, irq_res->start, |
262 | irqflags, &pdev->dev, dev_name(&pdev->dev), | 261 | irqflags, &pdev->dev, devflags); |
263 | devflags); | ||
264 | if (ret < 0) | 262 | if (ret < 0) |
265 | goto cleanup; | 263 | goto cleanup; |
266 | 264 | ||