diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-23 09:35:14 +0000 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-02-15 15:28:13 +0200 |
commit | 8874ae5f15f3feef3b4a415b9aed51edcf449aa1 (patch) | |
tree | 784289ea8dfd428974b927c59fff2b1900076b65 /drivers/ata | |
parent | 755d739534f998d92e348fba8ffb0478416576e7 (diff) | |
download | linux-stable-8874ae5f15f3feef3b4a415b9aed51edcf449aa1.tar.gz linux-stable-8874ae5f15f3feef3b4a415b9aed51edcf449aa1.tar.bz2 linux-stable-8874ae5f15f3feef3b4a415b9aed51edcf449aa1.zip |
USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
Add the missing platform_device_put() before return from bdc_pci_probe()
in the platform_device_add_resources() error handling case.
Fixes: efed421a94e6 ("usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions