staging: pi433: rf69.c style fix - spaces open brace
authorMarcin Ciupak <marcin.s.ciupak@gmail.com>
Thu, 10 Aug 2017 15:44:13 +0000 (17:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Aug 2017 00:55:49 +0000 (17:55 -0700)
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>
drivers/staging/pi433/rf69.c

index 590822a5a52ffe052f084b7edd4b0a5d8bfd7b28..85cd70d403badf161adf688a5ba73522e6329d60 100644 (file)
@@ -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);