diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-14 12:35:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-03 09:52:46 +0200 |
commit | 17d206a3687ec662b0eb7c1f083fb8abd29842be (patch) | |
tree | 8770fca460d1c7a2b0a23b942eadbb1703d04364 /drivers/usb/dwc3/dwc3-rtk.c | |
parent | usb: dwc3: qcom: use scoped device node handling to simplify error paths (diff) | |
download | linux-17d206a3687ec662b0eb7c1f083fb8abd29842be.tar.xz linux-17d206a3687ec662b0eb7c1f083fb8abd29842be.zip |
usb: dwc3: qcom: simplify with devm_platform_ioremap_resource
Use devm_platform_ioremap_resource() wrapper instead of two calls. This
allows also dropping local 'res' variable.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20240814-b4-cleanup-h-of-node-put-usb-v1-8-95481b9682bc@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-rtk.c')
0 files changed, 0 insertions, 0 deletions