summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcin Ciupak <marcin.s.ciupak@gmail.com>2017-08-10 17:44:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-14 17:55:49 -0700
commitb4bac77f2a2e3faada7313e8f6b8b4fcca7e07b8 (patch)
tree8cd555b573ab1fbd5d9b3a90ecded58e6b458dd9 /drivers
parent46659ed7f68526783044e994ef03719813cedfa6 (diff)
staging: pi433: rf69.c style fix - spaces open brace
This patch fixes the following checkpatch.pl error: ERROR: space required before the open brace '{' in rf69.c file as requested by TODO file. Signed-off-by: Marcin Ciupak <marcin.s.ciupak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/pi433/rf69.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c
index 590822a5a52f..85cd70d403ba 100644
--- a/drivers/staging/pi433/rf69.c
+++ b/drivers/staging/pi433/rf69.c
@@ -49,7 +49,7 @@ int rf69_set_mode(struct spi_device *spi, enum mode mode)
dev_dbg(&spi->dev, "set: mode");
#endif
- switch (mode){
+ switch (mode) {
case transmit: return WRITE_REG(REG_OPMODE, (READ_REG(REG_OPMODE) & ~MASK_OPMODE_MODE) | OPMODE_MODE_TRANSMIT);
case receive: return WRITE_REG(REG_OPMODE, (READ_REG(REG_OPMODE) & ~MASK_OPMODE_MODE) | OPMODE_MODE_RECEIVE);
case synthesizer: return WRITE_REG(REG_OPMODE, (READ_REG(REG_OPMODE) & ~MASK_OPMODE_MODE) | OPMODE_MODE_SYNTHESIZER);