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>
This commit is contained in:
parent
10c73f09dc
commit
57f068bedc
2 changed files with 2 additions and 3 deletions
|
@ -146,7 +146,6 @@ static int isp1761_pci_probe(struct pci_dev *dev,
|
|||
iounmap(iobase);
|
||||
release_mem_region(nxp_pci_io_base, iolength);
|
||||
|
||||
pci_set_drvdata(dev, hcd);
|
||||
return 0;
|
||||
|
||||
cleanup3:
|
||||
|
@ -272,8 +271,6 @@ static int isp1760_plat_probe(struct platform_device *pdev)
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, hcd);
|
||||
|
||||
pr_info("ISP1760 USB device initialised\n");
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue