diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2025-01-09 11:07:47 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-11 17:02:30 +0100 |
commit | 7d3934884babcfb1252c4296e0060c7a0749a429 (patch) | |
tree | 2bc505ccb5172a30b38680dc3a7929795ddcb755 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e84a7da8c5d6675be203876fd51c3897aaaf207d (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions