1
0
Fork 0

staging: vt6656: Add spaces between operators

Fixes checkpatch.pl warnings "spaces preferred around that <operator>".

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
zero-colors
Simon Sandström 2017-06-30 23:38:51 +02:00 committed by Greg Kroah-Hartman
parent 7b379dba14
commit f21997572c
3 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@
#define CONFIG_PATH "/etc/vntconfiguration.dat"
#define MAX_UINTS 8
#define OPTION_DEFAULT { [0 ... MAX_UINTS-1] = -1}
#define OPTION_DEFAULT { [0 ... MAX_UINTS - 1] = -1}
#define DUPLICATE_RX_CACHE_LENGTH 5

View File

@ -65,7 +65,7 @@ int vnt_download_firmware(struct vnt_private *priv)
status = vnt_control_out(priv,
0,
0x1200+ii,
0x1200 + ii,
0x0000,
length,
buffer);

View File

@ -643,9 +643,9 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
case RATE_48M:
case RATE_54M:
if (channel > CB_MAX_CHANNEL_24G)
power = priv->ofdm_a_pwr_tbl[channel-15];
power = priv->ofdm_a_pwr_tbl[channel - 15];
else
power = priv->ofdm_pwr_tbl[channel-1];
power = priv->ofdm_pwr_tbl[channel - 1];
break;
}