diff options
author | Nishanth Menon <nm@ti.com> | 2025-05-12 13:57:27 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-13 07:48:57 +0200 |
commit | cad915e4515790d2e66525a86a166e7ce81e3055 (patch) | |
tree | efa6a136854176910dd9258124c70fcb9305b988 /scripts/lib/kdoc/kdoc_re.py | |
parent | 6157e62b07d9331cc1d4d9d525dab33d45b0e83c (diff) |
regulator: gpio: Use dev_err_probe
During probe the gpio driver may not yet be available. Use
dev_err_probe to provide just the pertinent log.
Since dev_err_probe takes care of reporting the error value,
drop the redundant ret variable while at it.
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://patch.msgid.link/20250512185727.2907411-1-nm@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions