staging: pi433: fix CamelCase for paRamp enum
Fixes checkpatch warning: CHECK: Avoid CamelCase: <paRamp> Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d9a74d5f1e
commit
a9f83a65f1
|
@ -92,7 +92,7 @@ rf params:
|
|||
shaping0_3 - gauss filter with BT 0.3 (FSK only)
|
||||
shapingBR - filter cut off at BR (OOK only)
|
||||
shaping2BR - filter cut off at 2*BR (OOK only)
|
||||
paRamp (FSK only)
|
||||
pa_ramp (FSK only)
|
||||
ramp3400 - amp ramps up in 3.4ms
|
||||
ramp2000 - amp ramps up in 2.0ms
|
||||
ramp1000 - amp ramps up in 1ms
|
||||
|
|
|
@ -67,7 +67,7 @@ struct pi433_tx_cfg {
|
|||
enum modulation modulation;
|
||||
enum mod_shaping mod_shaping;
|
||||
|
||||
enum paRamp pa_ramp;
|
||||
enum pa_ramp pa_ramp;
|
||||
|
||||
enum tx_start_condition tx_start_condition;
|
||||
|
||||
|
|
|
@ -345,9 +345,9 @@ int rf69_set_output_power_level(struct spi_device *spi, u8 power_level)
|
|||
return rf69_read_mod_write(spi, REG_PALEVEL, MASK_PALEVEL_OUTPUT_POWER, power_level);
|
||||
}
|
||||
|
||||
int rf69_set_pa_ramp(struct spi_device *spi, enum paRamp paRamp)
|
||||
int rf69_set_pa_ramp(struct spi_device *spi, enum pa_ramp pa_ramp)
|
||||
{
|
||||
switch (paRamp) {
|
||||
switch (pa_ramp) {
|
||||
case ramp3400:
|
||||
return rf69_write_reg(spi, REG_PARAMP, PARAMP_3400);
|
||||
case ramp2000:
|
||||
|
|
|
@ -35,7 +35,7 @@ int rf69_set_frequency(struct spi_device *spi, u32 frequency);
|
|||
int rf69_enable_amplifier(struct spi_device *spi, u8 amplifier_mask);
|
||||
int rf69_disable_amplifier(struct spi_device *spi, u8 amplifier_mask);
|
||||
int rf69_set_output_power_level(struct spi_device *spi, u8 power_level);
|
||||
int rf69_set_pa_ramp(struct spi_device *spi, enum paRamp paRamp);
|
||||
int rf69_set_pa_ramp(struct spi_device *spi, enum pa_ramp pa_ramp);
|
||||
int rf69_set_antenna_impedance(struct spi_device *spi, enum antenna_impedance antenna_impedance);
|
||||
int rf69_set_lna_gain(struct spi_device *spi, enum lnaGain lnaGain);
|
||||
int rf69_set_bandwidth(struct spi_device *spi, enum mantisse mantisse, u8 exponent);
|
||||
|
|
|
@ -41,7 +41,7 @@ enum mod_shaping {
|
|||
SHAPING_2BR
|
||||
};
|
||||
|
||||
enum paRamp {
|
||||
enum pa_ramp {
|
||||
ramp3400,
|
||||
ramp2000,
|
||||
ramp1000,
|
||||
|
|
Loading…
Reference in New Issue