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

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

staging: pi433: fix CamelCase for syncSize variable



Fixes checkpatch warning:

  CHECK: Avoid CamelCase: <syncSize>

Signed-off-by: default avatarValentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e3290db
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -633,16 +633,16 @@ int rf69_set_fifo_fill_condition(struct spi_device *spi, enum fifo_fill_conditio
	}
	}
}
}


int rf69_set_sync_size(struct spi_device *spi, u8 syncSize)
int rf69_set_sync_size(struct spi_device *spi, u8 sync_size)
{
{
	// check input value
	// check input value
	if (syncSize > 0x07) {
	if (sync_size > 0x07) {
		dev_dbg(&spi->dev, "set: illegal input param");
		dev_dbg(&spi->dev, "set: illegal input param");
		return -EINVAL;
		return -EINVAL;
	}
	}


	// write value
	// write value
	return rf69_read_mod_write(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_SYNC_SIZE, (syncSize << 3));
	return rf69_read_mod_write(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_SYNC_SIZE, (sync_size << 3));
}
}


int rf69_set_sync_values(struct spi_device *spi, u8 sync_values[8])
int rf69_set_sync_values(struct spi_device *spi, u8 sync_values[8])