projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
730d9d4
)
spi: s3c64xx: indent an if statement
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 4 Jul 2016 07:47:48 +0000
(10:47 +0300)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-s3c64xx.c
b/drivers/spi/spi-s3c64xx.c
index 6d8486fc668fc59d58238555477622542a43f3d3..9f0119f64f93388706b3020dff8608aa6be1bbad 100644
(file)
--- 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);
}
}