diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-09-05 12:00:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 14:37:53 +0200 |
commit | ee4155f40cefea8af78b0bd20897ca97e2a8e72e (patch) | |
tree | 5e574bda8a5e35bd14c29a987437cfa98b254caa /drivers/usb/usb-skeleton.c | |
parent | dt-bindings: usb: Bring back phy-names (diff) | |
download | linux-ee4155f40cefea8af78b0bd20897ca97e2a8e72e.tar.xz linux-ee4155f40cefea8af78b0bd20897ca97e2a8e72e.zip |
xhci-ext-caps.c: Add missing platform_device_put() on error in xhci_create_intel_xhci_sw_pdev()
Add the missing platform_device_put() before return from
xhci_create_intel_xhci_sw_pdev() in the error handling case.
Fixes: 6ed151f26484 ("xhci-ext-caps.c: Add property to disable Intel SW switch")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20190905100001.128349-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions