From: Marcin Ciupak Date: Thu, 10 Aug 2017 15:44:13 +0000 (+0200) Subject: staging: pi433: rf69.c style fix - spaces open brace X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b4bac77f2a2e3faada7313e8f6b8b4fcca7e07b8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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);