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

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
...@@ -633,16 +633,16 @@ int rf69_set_fifo_fill_condition(struct spi_device *spi, enum fifo_fill_conditio ...@@ -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])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment