diff options
author | Luiz Souza <luiz@netgate.com> | 2017-10-19 21:59:37 -0500 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-10-19 22:07:11 -0500 |
commit | b8e78fa8b51488c2b7da57061f2c6e718dba9e1e (patch) | |
tree | 357d4df299128adfac67c544f393c9b0c014b074 | |
parent | 64d142143761854b5bd24080c4b5ed6d37a3bbba (diff) | |
download | FreeBSD-src-b8e78fa8b51488c2b7da57061f2c6e718dba9e1e.zip FreeBSD-src-b8e78fa8b51488c2b7da57061f2c6e718dba9e1e.tar.gz |
White space fixes.
(cherry picked from commit 7caa01716bd9aac311a92814158ef328fcd40676)
-rw-r--r-- | sys/arm/mv/mv_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arm/mv/mv_spi.c b/sys/arm/mv/mv_spi.c index d959181..64d4424 100644 --- a/sys/arm/mv/mv_spi.c +++ b/sys/arm/mv/mv_spi.c @@ -274,9 +274,9 @@ mv_spi_transfer(device_t dev, device_t child, struct spi_command *cmd) KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, ("TX/RX data sizes should be equal")); - /* Get the proper chip select for this child. */ - spibus_get_cs(child, &cs); - cs &= ~SPIBUS_CS_HIGH; + /* Get the proper chip select for this child. */ + spibus_get_cs(child, &cs); + cs &= ~SPIBUS_CS_HIGH; sc = device_get_softc(dev); MV_SPI_LOCK(sc); @@ -340,7 +340,7 @@ mv_spi_transfer(device_t dev, device_t child, struct spi_command *cmd) reg = MV_SPI_READ(sc, MV_SPI_CONTROL); MV_SPI_WRITE(sc, MV_SPI_CONTROL, reg & ~MV_SPI_CTRL_CS_ACTIVE); reg = MV_SPI_READ(sc, MV_SPI_CONF); - MV_SPI_WRITE(sc, MV_SPI_CONF, reg & ~MV_SPI_CONF_BYTELEN); + MV_SPI_WRITE(sc, MV_SPI_CONF, reg & ~MV_SPI_CONF_BYTELEN); sc->sc_bytelen = false; /* Release the controller and wakeup the next thread waiting for it. */ |