USB: dwc3: clean up core init error handling
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 4 Apr 2023 07:25:21 +0000 (09:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 08:18:22 +0000 (10:18 +0200)
commitd2f197822d5807d48bf27e713e2fd569e7017610
tree0f377902ea833b80f6a6c2300d60cd0647c69587
parentc8e9eccf6ed29f6c20fa489286eee1059566d035
USB: dwc3: clean up core init error handling

Clean up the core init error handling by using descriptive names for the
error labels and releasing resourcing in reverse order consistently.

Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230404072524.19014-9-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c