Re: [PATCH 2/5] staging/pi433/pi433_if.c:Removed Coding style issues from pi433_if.h and other dependencies arising from it.
From: Wolf Entwicklungen
Date: Wed Aug 02 2017 - 04:09:35 EST
Reviewed-by: Marcus Wolf <linux@xxxxxxxxxxxxxxxxxxxxx>
Am Di, 1.08.2017, 21:31 schrieb Rishabh Hardas:
> Signed-off-by: Rishabh Hardas <rishabhhardas@xxxxxxxxx>
> ---
> drivers/staging/pi433/pi433_if.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
> index ed737f4..11c042b 100644
> --- a/drivers/staging/pi433/pi433_if.c
> +++ b/drivers/staging/pi433/pi433_if.c
> @@ -192,7 +192,7 @@ rf69_set_rx_cfg(struct pi433_device *dev, struct pi433_rx_cfg *rx_cfg)
> SET_CHECKED(rf69_set_modulation (dev->spi, rx_cfg->modulation));
> SET_CHECKED(rf69_set_antenna_impedance (dev->spi, rx_cfg->antenna_impedance));
> SET_CHECKED(rf69_set_rssi_threshold (dev->spi, rx_cfg->rssi_threshold));
> - SET_CHECKED(rf69_set_ook_threshold_dec (dev->spi, rx_cfg->thresholdDecrement));
> + SET_CHECKED(rf69_set_ook_threshold_dec (dev->spi, rx_cfg->threshold_decrement));
> SET_CHECKED(rf69_set_bandwidth (dev->spi, rx_cfg->bw_mantisse, rx_cfg->bw_exponent));
> SET_CHECKED(rf69_set_bandwidth_during_afc(dev->spi, rx_cfg->bw_mantisse, rx_cfg->bw_exponent));
> SET_CHECKED(rf69_set_dagc (dev->spi, rx_cfg->dagc));
> @@ -254,5 +254,5 @@ rf69_set_tx_cfg(struct pi433_device *dev, struct pi433_tx_cfg *tx_cfg)
> SET_CHECKED(rf69_set_modulation (dev->spi, tx_cfg->modulation));
> SET_CHECKED(rf69_set_deviation (dev->spi, tx_cfg->dev_frequency));
> SET_CHECKED(rf69_set_pa_ramp (dev->spi, tx_cfg->pa_ramp));
> - SET_CHECKED(rf69_set_modulation_shaping(dev->spi, tx_cfg->modShaping));
> + SET_CHECKED(rf69_set_modulation_shaping(dev->spi, tx_cfg->mod_shaping));
> SET_CHECKED(rf69_set_tx_start_condition(dev->spi, tx_cfg->tx_start_condition));
>
> /* packet format enable */
> --
> 2.7.4
>
>
>