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 6d8486fc668fc59d58238555477622542a43f3d3..9f0119f64f93388706b3020dff8608aa6be1bbad 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);
        }
 }