]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: mt6315: Don't ignore devm_regulator_register failure
authorAxel Lin <axel.lin@ingics.com>
Sun, 30 May 2021 02:05:43 +0000 (10:05 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Jun 2021 13:05:22 +0000 (14:05 +0100)
commitc9884b39d3bb5a5c7e12eaa035822e2b03d350ef
tree9269b3a44ca9c3335f1e3b1566472aa3276e164b
parent101d72fb9b5b9af5dba8450217ee5bc2806692d6
regulator: mt6315: Don't ignore devm_regulator_register failure

Also use dev_err instead of dev_notice for messages in error conditions.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210530020543.418634-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6315-regulator.c