staging: pi433: fixed coding style issues

space required before the open parenthesis, open brace should be
on previous line.

Signed-off-by: Xiangyang Zhang <xyz.sun.ok@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Xiangyang Zhang 2017-08-18 11:27:40 +08:00 committed by Greg Kroah-Hartman
parent 08f7c8bbeb
commit 6feb5c82de
1 changed files with 7 additions and 8 deletions

View File

@ -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 */