mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
regulator: Mention regulator id in error message about dummy supplies
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>
This commit is contained in:
parent
9fcf6ef3e1
commit
75c48adfe9
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue