summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-03-12 14:02:41 +0100
committerMark Brown <broonie@kernel.org>2021-03-15 16:42:11 +0100
commit9cbc23f7d51fb0b1363bdfdd0b770aa7b5982f2f (patch)
tree9a818ac6f9bbf485f21d07d67eca7d4431ead44c /drivers/pinctrl
parentregulator: bd9571mwv: Fix AVS and DVFS voltage range (diff)
downloadlinux-9cbc23f7d51fb0b1363bdfdd0b770aa7b5982f2f.tar.xz
linux-9cbc23f7d51fb0b1363bdfdd0b770aa7b5982f2f.zip
regulator: bd9571mwv: Fix regulator name printed on registration failure
If a regulator fails to register, the driver prints an error message like: bd9571mwv-regulator bd9571mwv-regulator.6.auto: failed to register bd9571mwv-regulator regulator However, the platform device's name is already printed as part of dev_err(), and does not allow the user to distinguish among the various regulators that are part of the PMIC. Fix this by printing regulator_desc.name instead, to change the message like: bd9571mwv-regulator bd9571mwv-regulator.6.auto: failed to register DVFS regulator Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Link: https://lore.kernel.org/r/20210312130242.3390038-3-geert+renesas@glider.be Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions