Skip to content
Unverified Commit 70d654ea authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: mt6315: Fix checking return value of devm_regmap_init_spmi_ext



devm_regmap_init_spmi_ext() returns ERR_PTR() on error.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210615132934.3453965-1-axel.lin@ingics.com


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