diff options
author | 2024-08-14 12:35:46 +0200 | |
---|---|---|
committer | 2024-09-03 09:52:46 +0200 | |
commit | 819c0c31a78e389812ab183eceabec58d1d23319 (patch) | |
tree | 7687ef431f6033a225c913b8959f4c892418fe06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: dwc3: rtk: use scoped device node handling to simplify error paths (diff) | |
download | wireguard-linux-819c0c31a78e389812ab183eceabec58d1d23319.tar.xz wireguard-linux-819c0c31a78e389812ab183eceabec58d1d23319.zip |
usb: dwc3: rtk: return directly and simplify with devm_platform_ioremap_resource
Use devm_platform_ioremap_resource() wrapper instead of two calls, which
together with returning directly instead of useless goto, allows to
nicely simplify the probe() function.
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-10-95481b9682bc@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions