Commit 469a3b79 authored by Alexander Stein's avatar Alexander Stein Committed by Wentao Guan
Browse files

regulator: core: Add missing newline character

stable inclusion
from stable-v6.6.76
commit c0f6111bb525d86f3a6befb1f29771684b372cad
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBW08Q

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c0f6111bb525d86f3a6befb1f29771684b372cad



--------------------------------

[ Upstream commit 155c569fa4c3b340fbf8571a0e42dd415c025377 ]

dev_err_probe() error messages need newline character.

Fixes: 6eabfc01 ("regulator: core: Allow specifying an initial load w/ the bulk API")
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Link: https://patch.msgid.link/20250122072019.1926093-1-alexander.stein@ew.tq-group.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit c0f6111bb525d86f3a6befb1f29771684b372cad)
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
parent 7959e212
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4876,7 +4876,7 @@ int _regulator_bulk_get(struct device *dev, int num_consumers,
						       consumers[i].supply, get_type);
		if (IS_ERR(consumers[i].consumer)) {
			ret = dev_err_probe(dev, PTR_ERR(consumers[i].consumer),
					    "Failed to get supply '%s'",
					    "Failed to get supply '%s'\n",
					    consumers[i].supply);
			consumers[i].consumer = NULL;
			goto err;