diff options
| author | 2024-12-31 10:44:56 -0600 | |
|---|---|---|
| committer | 2025-01-03 11:14:05 +0100 | |
| commit | 533561a8aad566a5e2d50f9f069feadc682931f7 (patch) | |
| tree | ff94eb63087942624f992451fc5ff0bb7ca4524f /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | usb: cdns3: remove redundant if branch (diff) | |
usb: dwc3: omap: Use devm_regulator_get_optional()
The 'vbus-supply' regulator is optional, so use
devm_regulator_get_optional() instead of checking for property presence
first.
While here, rework the error handling to use dev_err_probe() which
handles deferred probe correctly without an error message.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241231164456.262581-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
