summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2025-01-09 20:07:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-11 19:02:30 +0300
commit7d3934884babcfb1252c4296e0060c7a0749a429 (patch)
tree2bc505ccb5172a30b38680dc3a7929795ddcb755 /scripts/lib/kdoc/kdoc_files.py
parente84a7da8c5d6675be203876fd51c3897aaaf207d (diff)
downloadlinux-7d3934884babcfb1252c4296e0060c7a0749a429.tar.xz
usb: dwc3: omap: Fix devm_regulator_get_optional() error handling
Commit 533561a8aad5 ("usb: dwc3: omap: Use devm_regulator_get_optional()") assumed NULL was returned, but devm_regulator_get_optional() returns -ENODEV rather than NULL like other *_get_optional() functions. Fixes: 533561a8aad5 ("usb: dwc3: omap: Use devm_regulator_get_optional()") Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/20250109170748.3852439-1-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions