Commit 17d206a
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>1 parent a85f13d commit 17d206a
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
739 | 738 | | |
740 | 739 | | |
741 | 740 | | |
| |||
773 | 772 | | |
774 | 773 | | |
775 | 774 | | |
776 | | - | |
777 | | - | |
778 | | - | |
| 775 | + | |
779 | 776 | | |
780 | 777 | | |
781 | 778 | | |
| |||
0 commit comments