* [PATCH] regulator: adapt warning message when resolving supply
@ 2025-04-22 5:19 Ahmad Fatoum
2025-04-22 8:15 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-04-22 5:19 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum, Fabian Pflug
We have the exact same message in the MCI core, but with vmmc hardcoded,
which makes it harder to see where the message is originating from.
As the message in the regulator core is printed out when resolving
a regulator's supply fails, mention that.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Cc: Fabian Pflug <f.pflug@pengutronix.de>
---
drivers/regulator/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index be98f4a27918..f18622cba80c 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -179,7 +179,7 @@ static int regulator_resolve_supply(struct regulator_dev *rdev)
* we couldn't. If you want to get rid of this warning, consider
* migrating your platform to have deep probe support.
*/
- rdev_warn(rdev, "Failed to get '%s' regulator (ignored).\n",
+ rdev_warn(rdev, "Failed to get '%s' supply (ignored).\n",
supply_name);
return 0;
}
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: adapt warning message when resolving supply
2025-04-22 5:19 [PATCH] regulator: adapt warning message when resolving supply Ahmad Fatoum
@ 2025-04-22 8:15 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-04-22 8:15 UTC (permalink / raw)
To: barebox, Ahmad Fatoum; +Cc: Fabian Pflug
On Tue, 22 Apr 2025 07:19:20 +0200, Ahmad Fatoum wrote:
> We have the exact same message in the MCI core, but with vmmc hardcoded,
> which makes it harder to see where the message is originating from.
>
> As the message in the regulator core is printed out when resolving
> a regulator's supply fails, mention that.
>
>
> [...]
Applied, thanks!
[1/1] regulator: adapt warning message when resolving supply
https://git.pengutronix.de/cgit/barebox/commit/?id=c6c3b15e0750 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-22 9:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-22 5:19 [PATCH] regulator: adapt warning message when resolving supply Ahmad Fatoum
2025-04-22 8:15 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox