regulator: tps65219: Report regulator name if devm_regulator_register fails

Make the error message more useful by reporting the actual regulator
name if devm_regulator_register() fails.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20221214153409.1270213-1-w.egorov@phytec.de
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Wadim Egorov 2022-12-14 16:34:09 +01:00 • committed by Mark Brown
commit cfbe9dfd66
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0