mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1cd41fc3f3
commit
53e0b83d01
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -114,7 +114,7 @@ enum flag {
|
|||
};
|
||||
|
||||
enum fifo_fill_condition {
|
||||
afterSyncInterrupt,
|
||||
after_sync_interrupt,
|
||||
always
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue