diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2018-03-05 08:02:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 04:22:17 -0800 |
commit | 53e0b83d01c3bcafed968101531c903a86c4efbd (patch) | |
tree | f06e1bba9c114f5eab52424667e4130b12f4d47c /drivers/staging/pi433 | |
parent | 1cd41fc3f32b18a2a82135ed74b0107bc7ce1523 (diff) | |
download | lwn-53e0b83d01c3bcafed968101531c903a86c4efbd.tar.gz lwn-53e0b83d01c3bcafed968101531c903a86c4efbd.zip |
staging: pi433: fix CamelCase for afterSyncInterrupt
Fixes checkpatch warning:
CHECK: Avoid CamelCase: <afterSyncInterrupt>
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433')
-rw-r--r-- | drivers/staging/pi433/pi433_if.c | 2 | ||||
-rw-r--r-- | drivers/staging/pi433/rf69.c | 2 | ||||
-rw-r--r-- | drivers/staging/pi433/rf69_enum.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 57db806ff5af..730200597218 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -209,7 +209,7 @@ rf69_set_rx_cfg(struct pi433_device *dev, struct pi433_rx_cfg *rx_cfg) return ret; ret = rf69_set_fifo_fill_condition(dev->spi, - afterSyncInterrupt); + after_sync_interrupt); if (ret < 0) return ret; } else { diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index fc4919711477..a73a3d2c0685 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -625,7 +625,7 @@ int rf69_set_fifo_fill_condition(struct spi_device *spi, enum fifo_fill_conditio switch (fifo_fill_condition) { case always: return rf69_set_bit(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_FIFO_FILL_CONDITION); - case afterSyncInterrupt: + case after_sync_interrupt: return rf69_clear_bit(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_FIFO_FILL_CONDITION); default: dev_dbg(&spi->dev, "set: illegal input param"); diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index 81287ce6be35..d82d2be88cbd 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -114,7 +114,7 @@ enum flag { }; enum fifo_fill_condition { - afterSyncInterrupt, + after_sync_interrupt, always }; |