regulator: tps65219: Report regulator name if devm_regulator_register fails
authorWadim Egorov <w.egorov@phytec.de>
Wed, 14 Dec 2022 15:34:09 +0000 (16:34 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 25 Dec 2022 23:33:42 +0000 (23:33 +0000)
commitcfbe9dfd664c7717ef297e01b7eecccc2b5fde6f
tree6a0895cbbd1c8f7873c007cb0584e10b1e5b9cfd
parent413ec72963fc297f419a3d5f931bb43921969749
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>
drivers/regulator/tps65219-regulator.c