diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2021-06-16 15:53:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-16 17:41:20 +0300 |
commit | 7740ab84c13e32002742106afd443a4ca7fe3918 (patch) | |
tree | 2f1d0ebe65439a5b200c51d0e0b3a0aa0b8d7b73 /drivers/atm | |
parent | 830c364f4a2299e8215c40f0a2ba9229c0fdeede (diff) | |
download | linux-7740ab84c13e32002742106afd443a4ca7fe3918.tar.xz |
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: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Link: https://lore.kernel.org/r/20210616125331.153414-1-r.czerwinski@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions