staging: pi433: add space around operators

Fixes checkpatch error for missing spaces.

Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Valentin Vidic 2017-12-10 15:31:08 +01:00 committed by Greg Kroah-Hartman
parent dd30cfebb8
commit e27de55d0e
1 changed files with 4 additions and 5 deletions

View File

@ -1030,8 +1030,7 @@ static int setup_GPIOs(struct pi433_device *device)
DIO1_irq_handler
};
for (i=0; i<NUM_DIO; i++)
{
for (i = 0; i < NUM_DIO; i++) {
/* "construct" name and get the gpio descriptor */
snprintf(name, sizeof(name), "DIO%d", i);
device->gpiod[i] = gpiod_get(&device->spi->dev, name, 0 /*GPIOD_IN*/);