diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2018-03-05 10:02:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 15:22:16 +0300 |
commit | 1cd41fc3f32b18a2a82135ed74b0107bc7ce1523 (patch) | |
tree | 750a5a6aafc364b739f4f5baff0ef80466b446c2 /drivers/staging/pi433/rf69_enum.h | |
parent | c436ef3b9abfcdb3b6db0c87f3d11d628cd0d426 (diff) | |
download | linux-1cd41fc3f32b18a2a82135ed74b0107bc7ce1523.tar.xz |
staging: pi433: fix CamelCase for flag enum
Fixes checkpatch warnings:
CHECK: Avoid CamelCase: <modeSwitchCompleted>
CHECK: Avoid CamelCase: <readyToReceive>
CHECK: Avoid CamelCase: <readyToSend>
CHECK: Avoid CamelCase: <pllLocked>
CHECK: Avoid CamelCase: <rssiExceededThreshold>
CHECK: Avoid CamelCase: <syncAddressMatch>
CHECK: Avoid CamelCase: <packetSent>
CHECK: Avoid CamelCase: <crcOk>
CHECK: Avoid CamelCase: <batteryLow>
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433/rf69_enum.h')
-rw-r--r-- | drivers/staging/pi433/rf69_enum.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index 682b667bf342..81287ce6be35 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -94,23 +94,23 @@ enum threshold_decrement { }; enum flag { - modeSwitchCompleted, - readyToReceive, - readyToSend, - pllLocked, - rssiExceededThreshold, + mode_switch_completed, + ready_to_receive, + ready_to_send, + pll_locked, + rssi_exceeded_threshold, timeout, automode, - syncAddressMatch, + sync_address_match, fifo_full, // fifo_not_empty, collision with next enum; replaced by following enum... fifo_empty, fifo_level_below_threshold, fifo_overrun, - packetSent, + packet_sent, payload_ready, - crcOk, - batteryLow + crc_ok, + battery_low }; enum fifo_fill_condition { |