[PATCH 5/5] staging/pi433/rf69_enum.h:Removed Coding style issues from pi433_if.h and other dependencies arising from it.

Wolf Entwicklungen Marcus.Wolf at Wolf-Entwicklungen.de
Wed Aug 2 08:14:02 UTC 2017


Reviewed-by: Marcus Wolf <linux at wolf-entwicklungen.de>

Am Di, 1.08.2017, 21:31 schrieb Rishabh Hardas:
> Signed-off-by: Rishabh Hardas <rishabhhardas at gmail.com>
> ---
>  drivers/staging/pi433/rf69_enum.h | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h
> index fbfb59b..f51eec3 100644
> --- a/drivers/staging/pi433/rf69_enum.h
> +++ b/drivers/staging/pi433/rf69_enum.h
> @@ -18,2 +18,2 @@
>  #ifndef RF69_ENUM_H
>  #define RF69_ENUM_H
>
> -enum optionOnOff
> +enum option_on_off
>  {
>      optionOff,
>      optionOn
> @@ -46,2 +46,2 @@ enum modulation
>      FSK
>  };
>
> -enum modShaping
> +enum mod_shaping
>  {
>      shapingOff,
>      shaping1_0,
> @@ -56,2 +56,2 @@ enum modShaping
>      shaping2BR
>  };
>
> -enum paRamp
> +enum pa_ramp
>  {
>      ramp3400,
>      ramp2000,
> @@ -76,2 +76,2 @@ enum paRamp
>      ramp10
>  };
>
> -enum antennaImpedance
> +enum antenna_impedance
>  {
>      fiftyOhm,
>      twohundretOhm
>  };
>
> -enum lnaGain
> +enum lnagain
>  {
>      automatic,
>      max,
> @@ -132,2 +132,2 @@ enum thresholdStep
>      step_6_0db
>  };
>
> -enum thresholdDecrement
> +enum threshold_decrement
>  {
>      dec_every8th,
>      dec_every4th,
> @@ -177,2 +177,2 @@ enum packetFormat
>      packetLengthVar
>  };
>
> -enum txStartCondition
> +enum tx_start_condition
>  {
>      fifoLevel,
>      fifoNotEmpty
>  };
>
> -enum addressFiltering
> +enum address_filtering
>  {
>      filteringOff,
>      nodeAddress,
> --
> 2.7.4
>
>
>



More information about the devel mailing list