Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e27de55d authored by Valentin Vidic's avatar Valentin Vidic Committed by Greg Kroah-Hartman
Browse files

staging: pi433: add space around operators



Fixes checkpatch error for missing spaces.

Signed-off-by: default avatarValentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dd30cfeb
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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*/);