]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
spi: sf_probe: Fix style violations
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:40 +0000 (11:08 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Jan 2018 06:34:08 +0000 (12:04 +0530)
Fix two indention-related style violations.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sf_probe.c

index e25513b77a31277a4b74e738a5129f65ebf7ac62..68009a63289536579b261db418fb27e9d6a65b7e 100644 (file)
@@ -77,7 +77,7 @@ static struct spi_flash *spi_flash_probe_tail(struct spi_slave *bus)
 }
 
 struct spi_flash *spi_flash_probe(unsigned int busnum, unsigned int cs,
-               unsigned int max_hz, unsigned int spi_mode)
+                                 unsigned int max_hz, unsigned int spi_mode)
 {
        struct spi_slave *bus;
 
@@ -107,7 +107,7 @@ static int spi_flash_std_read(struct udevice *dev, u32 offset, size_t len,
 }
 
 static int spi_flash_std_write(struct udevice *dev, u32 offset, size_t len,
-                       const void *buf)
+                              const void *buf)
 {
        struct spi_flash *flash = dev_get_uclass_priv(dev);