diff mbox series

[3/3] spi: atmel-quadspi: align condition to parenthesis

Message ID 20220609084246.1795419-4-claudiu.beznea@microchip.com (mailing list archive)
State Accepted
Commit af7c2d4145b57c15d25a092cfb5a91708c72b541
Headers show
Series spi: atmel-quadspi: add runtime pm support | expand

Commit Message

Claudiu Beznea June 9, 2022, 8:42 a.m. UTC
Align condition to parenthesis.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 drivers/spi/atmel-quadspi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index dea8a0311aaa..976a217e356d 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -286,7 +286,7 @@  static bool atmel_qspi_supports_op(struct spi_mem *mem,
 
 	/* special case not supported by hardware */
 	if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth &&
-		op->dummy.nbytes == 0)
+	    op->dummy.nbytes == 0)
 		return false;
 
 	return true;