From: Xiangyang Zhang Date: Fri, 18 Aug 2017 03:27:40 +0000 (+0800) Subject: staging: pi433: fixed coding style issues X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6feb5c82de6fba4dbf1db166fa8d78ca5f4b7b34;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: pi433: fixed coding style issues space required before the open parenthesis, open brace should be on previous line. Signed-off-by: Xiangyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 6b9b7df70f8e..87053e778451 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -1125,14 +1125,13 @@ static int pi433_probe(struct spi_device *spi) if (retval < 0) return retval; - switch(retval) - { - case 0x24: - dev_dbg(&spi->dev, "found pi433 (ver. 0x%x)", retval); - break; - default: - dev_dbg(&spi->dev, "unknown chip version: 0x%x", retval); - return -ENODEV; + switch (retval) { + case 0x24: + dev_dbg(&spi->dev, "found pi433 (ver. 0x%x)", retval); + break; + default: + dev_dbg(&spi->dev, "unknown chip version: 0x%x", retval); + return -ENODEV; } /* Allocate driver data */