summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-s3c64xx.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-07-04 09:47:48 +0200
committerMark Brown <broonie@kernel.org>2016-07-04 10:47:58 +0200
commit47c169ee67a6adea902d597b9e7bad428c7aac12 (patch)
tree8759704c8e30c0be7be7d69b45788aeb0543ad73 /drivers/spi/spi-s3c64xx.c
parentspi: s3c64xx: simplify if statement in prepare_transfer function (diff)
downloadlinux-47c169ee67a6adea902d597b9e7bad428c7aac12.tar.xz
linux-47c169ee67a6adea902d597b9e7bad428c7aac12.zip
spi: s3c64xx: indent an if statement
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>
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
-rw-r--r--drivers/spi/spi-s3c64xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 6d8486fc668f..9f0119f64f93 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -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);
}
}