Skip to content
Unverified Commit 7740ab84 authored by Rouven Czerwinski's avatar Rouven Czerwinski Committed by Mark Brown
Browse files

regulator: fixed: use dev_err_probe for gpio



Instead of returning the the PTR_ERR directly, use dev_err_probe which
will also correctly set the deferred probe reason in
/sys/kernel/debug/deferred_devices, making it easier to debug missing
devices on the system.

Signed-off-by: default avatarRouven Czerwinski <r.czerwinski@pengutronix.de>
Link: https://lore.kernel.org/r/20210616125331.153414-1-r.czerwinski@pengutronix.de


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 830c364f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment