mirror of https://gitee.com/openkylin/linux.git
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:
parent
dd30cfebb8
commit
e27de55d0e
|
@ -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*/);
|
||||
|
|
Loading…
Reference in New Issue