diff mbox series

[U-Boot,RESEND,v2,6/8] spi: sf_probe: Fix style violations

Message ID 20180115100842.20699-6-mario.six@gdsys.cc
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot,RESEND,v2,1/8] spi: Fix style violation and improve code | expand

Commit Message

Mario Six Jan. 15, 2018, 10:08 a.m. UTC
Fix two indention-related style violations.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
---

v1 -> v2:
None

---
 drivers/mtd/spi/sf_probe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.11.0
diff mbox series

Patch

diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
index e25513b77a..68009a6328 100644
--- a/drivers/mtd/spi/sf_probe.c
+++ b/drivers/mtd/spi/sf_probe.c
@@ -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);