diff options
author | 2023-11-17 15:03:05 +0800 | |
---|---|---|
committer | 2023-11-21 15:30:43 +0100 | |
commit | 791cd7afe51b0c770264836ab0607766e3e80f52 (patch) | |
tree | d5feb1724d7b8c381979deec05cee48056da470a /scripts/generate_rust_analyzer.py | |
parent | USB: dwc2: write HCINT with INTMASK applied (diff) | |
download | linux-rng-791cd7afe51b0c770264836ab0607766e3e80f52.tar.xz linux-rng-791cd7afe51b0c770264836ab0607766e3e80f52.zip |
usb: dwc3: add missing of_node_put and platform_device_put
of_get_compatible_child performs an of_node_get, so an of_node_put is
required. Add platform_device_put to match with of_find_device_by_node.
Fixes: 34c200483569 ("usb: dwc3: add Realtek DHC RTD SoC dwc3 glue layer driver")
Signed-off-by: Stanley Chang <stanley_chang@realtek.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20231117070311.32502-1-stanley_chang@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions