Skip to content
Verified Commit cad915e4 authored by Nishanth Menon's avatar Nishanth Menon Committed by Mark Brown
Browse files

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: default avatarNishanth Menon <nm@ti.com>
Link: https://patch.msgid.link/20250512185727.2907411-1-nm@ti.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6157e62b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment