Explorar o código

spi: spi-uclass: fix typo in debug output

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Anatolij Gustschin %!s(int64=9) %!d(string=hai) anos
pai
achega
c8864d7209
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/spi/spi-uclass.c

+ 1 - 1
drivers/spi/spi-uclass.c

@@ -333,7 +333,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);