[PATCH] dm: regulator: fix missing quote in error message

David Lechner dlechner at baylibre.com
Thu Mar 19 23:30:04 CET 2026


Fix a missing closing quote in the error message when a regulator name
is not unique.

Signed-off-by: David Lechner <dlechner at baylibre.com>
---
 drivers/power/regulator/regulator-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c
index 94c52cf555b..1c7f75a9338 100644
--- a/drivers/power/regulator/regulator-uclass.c
+++ b/drivers/power/regulator/regulator-uclass.c
@@ -449,7 +449,7 @@ static int regulator_post_bind(struct udevice *dev)
 	}
 
 	if (!regulator_name_is_unique(dev, uc_pdata->name)) {
-		dev_err(dev, "'%s' has nonunique value: '%s\n",
+		dev_err(dev, "'%s' has nonunique value: '%s'\n",
 			property, uc_pdata->name);
 		return -EINVAL;
 	}

---
base-commit: eb00c710508d09b2a3b9aca75dd18280f1304703
change-id: 20260319-regulator-fix-missing-quote-d69d54a69a8a

Best regards,
--  
David Lechner <dlechner at baylibre.com>



More information about the U-Boot mailing list