spi: spi-uclass: fix typo in debug output
authorAnatolij Gustschin <agust@denx.de>
Thu, 21 Apr 2016 07:28:02 +0000 (09:28 +0200)
committerJagan Teki <jteki@openedev.com>
Wed, 6 Jul 2016 07:10:32 +0000 (12:40 +0530)
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/spi-uclass.c

index 84b6786517cc667ebd04d6542003bac26dc85175..80aff7bc604036fb2bc4655070fac8f2667fa9f6 100644 (file)
@@ -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);