diff options
author | Linus Walleij | 2019-10-22 16:05:13 +0200 |
---|---|---|
committer | Linus Walleij | 2019-10-22 16:05:13 +0200 |
commit | 3bf864e2507aae0bb24c1a360f409b4a746abd2b (patch) | |
tree | f12db6bec93568284f8fa37f6c6c7808f5392a91 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | e543b3f5bb1d7dc39c2628e2932c625670913436 (diff) | |
parent | 7d194c2100ad2a6dded545887d02754948ca5241 (diff) |
Merge tag 'v5.4-rc4' into devel
Linux 5.4-rc4
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
-rw-r--r-- | drivers/usb/cdns3/cdns3-pci-wrap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/cdns3/cdns3-pci-wrap.c b/drivers/usb/cdns3/cdns3-pci-wrap.c index c41ddb61b857..b0a29efe7d31 100644 --- a/drivers/usb/cdns3/cdns3-pci-wrap.c +++ b/drivers/usb/cdns3/cdns3-pci-wrap.c @@ -159,8 +159,9 @@ static int cdns3_pci_probe(struct pci_dev *pdev, wrap->plat_dev = platform_device_register_full(&plat_info); if (IS_ERR(wrap->plat_dev)) { pci_disable_device(pdev); + err = PTR_ERR(wrap->plat_dev); kfree(wrap); - return PTR_ERR(wrap->plat_dev); + return err; } } |