spi: s3c64xx: indent an if statement
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 4 Jul 2016 07:47:48 +0000 (10:47 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2016 08:47:58 +0000 (10:47 +0200)
It generates a static checker warning if an if statement isn't indented.
I think the code is fine except for the white space issue.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c

index 6d8486f..9f0119f 100644 (file)
@@ -330,8 +330,8 @@ static void s3c64xx_spi_set_cs(struct spi_device *spi, bool enable)
                }
        } else {
                if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO))
-               writel(S3C64XX_SPI_SLAVE_SIG_INACT,
-               sdd->regs + S3C64XX_SPI_SLAVE_SEL);
+                       writel(S3C64XX_SPI_SLAVE_SIG_INACT,
+                              sdd->regs + S3C64XX_SPI_SLAVE_SEL);
        }
 }