USB: dwc3: refactor clock lookups
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 4 Apr 2023 07:25:23 +0000 (09:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 08:18:22 +0000 (10:18 +0200)
commitbd82857424d37897ad994381f7c580dacf2e2988
tree18aa8793b46cb320a36a1cecc68c19c5b34af7f8
parent1d72fab476567a0e4f51ee0a93882208ba28dc54
USB: dwc3: refactor clock lookups

The probe callback has become unwieldy so break out the clock lookups
into a new helper function to improve readability.

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-11-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c