Skip to contentSkip to conversation

MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues

PATCH In review Nilesh Hase 2 participants 2 messages Apr 3, 2019 – Apr 4, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues

---
 drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/mt7621-spi/spi-mt7621.c +1 -1
index b509f9fe3346..6fa9876f5a92 100644
@@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
 	struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
 
 	if ((spi->max_speed_hz == 0) ||
-		(spi->max_speed_hz > (rs->sys_freq / 2)))
+	    (spi->max_speed_hz > (rs->sys_freq / 2)))
 		spi->max_speed_hz = (rs->sys_freq / 2);
 
 	if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 4 lines · Nilesh Hase
---
 drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I can't take patches without any changelog content, sorry.