diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-20 17:55:46 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 10:38:28 -0500 |
commit | 57f068bedca8b92157d09f971f2fb3adb76f8f96 (patch) | |
tree | 938177bd7a009df989465868baa3928ca0b7c2bc /drivers/usb/host/isp1760-if.c | |
parent | 10c73f09dc9be7c7373483f9965dd535c5788f09 (diff) |
usb: isp1760: Manage device driver data in common code
Don't duplicate *_set_drvdata calls in glue code.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host/isp1760-if.c')
-rw-r--r-- | drivers/usb/host/isp1760-if.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index b96c62f40863..64eaf5d0157e 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c | |||
@@ -146,7 +146,6 @@ static int isp1761_pci_probe(struct pci_dev *dev, | |||
146 | iounmap(iobase); | 146 | iounmap(iobase); |
147 | release_mem_region(nxp_pci_io_base, iolength); | 147 | release_mem_region(nxp_pci_io_base, iolength); |
148 | 148 | ||
149 | pci_set_drvdata(dev, hcd); | ||
150 | return 0; | 149 | return 0; |
151 | 150 | ||
152 | cleanup3: | 151 | cleanup3: |
@@ -272,8 +271,6 @@ static int isp1760_plat_probe(struct platform_device *pdev) | |||
272 | goto cleanup; | 271 | goto cleanup; |
273 | } | 272 | } |
274 | 273 | ||
275 | platform_set_drvdata(pdev, hcd); | ||
276 | |||
277 | pr_info("ISP1760 USB device initialised\n"); | 274 | pr_info("ISP1760 USB device initialised\n"); |
278 | return 0; | 275 | return 0; |
279 | 276 | ||