projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcf6ef
)
regulator: Mention regulator id in error message about dummy supplies
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Tue, 7 May 2024 10:47:02 +0000
(12:47 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 7 May 2024 14:55:37 +0000
(23:55 +0900)
With the name that is currently looked up it is considerably easier to
understand the issue and fix the warning.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link:
https://lore.kernel.org/r/20240507104703.2070117-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/core.c
b/drivers/regulator/core.c
index dabac9772741fa64c241ee7f2c6d2d173fc18c7b..30f8e46dacdda92bbe85e4c013d1f6e318f6f573 100644
(file)
--- a/
drivers/regulator/core.c
+++ b/
drivers/regulator/core.c
@@
-2195,7
+2195,7
@@
struct regulator *_regulator_get(struct device *dev, const char *id,
if (!have_full_constraints()) {
dev_warn(dev,
- "incomplete constraints, dummy supplies not allowed
\n"
);
+ "incomplete constraints, dummy supplies not allowed
(id=%s)\n", id
);
return ERR_PTR(-ENODEV);
}
@@
-2213,7
+2213,7
@@
struct regulator *_regulator_get(struct device *dev, const char *id,
case EXCLUSIVE_GET:
dev_warn(dev,
- "dummy supplies not allowed for exclusive requests
\n"
);
+ "dummy supplies not allowed for exclusive requests
(id=%s)\n", id
);
fallthrough;
default: