[U-Boot] [PATCH] spi: spi-uclass: fix typo in debug output

Anatolij Gustschin agust at denx.de
Thu Apr 21 09:28:02 CEST 2016


Signed-off-by: Anatolij Gustschin <agust at denx.de>
Cc: Jagan Teki <jteki at openedev.com>
---
 drivers/spi/spi-uclass.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c
index 5561f36..9ce5f9e 100644
--- a/drivers/spi/spi-uclass.c
+++ b/drivers/spi/spi-uclass.c
@@ -319,7 +319,7 @@ int spi_get_bus_and_cs(int busnum, int cs, int speed, int mode,
 	return 0;
 
 err:
-	debug("%s: Error path, credted=%d, device '%s'\n", __func__,
+	debug("%s: Error path, created=%d, device '%s'\n", __func__,
 	      created, dev->name);
 	if (created) {
 		device_remove(dev);
-- 
1.7.9.5



More information about the U-Boot mailing list