staging: vt6655: fix various style issues
PATCH 1/1 staging: vt6655: fix various style issues
Fix spaces around operator issue,
fix line over 80 characters issue
and fix lines should not end with parenthesis issue.
Signed-off-by Payal Kshirsagar <[email protected]>
--- drivers/staging/vt6655/rf.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-)
drivers/staging/vt6655/rf.c +12 -14
@@ -723,11 +723,17 @@ bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char byRFType,MACvSetMISCFifo (priv, (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), dwAL7230InitTableAMode[ii]); } -MACvSetMISCFifo (priv, (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), dwAL7230ChannelTable0[uChannel-1 ]); +MACvSetMISCFifo (priv, + (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), + dwAL7230ChannelTable0[uChannel -1 ]); ii++; -MACvSetMISCFifo (priv, (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), dwAL7230ChannelTable1[uChannel-1 ]); +MACvSetMISCFifo (priv, + (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), + dwAL7230ChannelTable1[uChannel -1 ]); ii++; -MACvSetMISCFifo (priv, (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), dwAL7230ChannelTable2[uChannel-1 ]); +MACvSetMISCFifo (priv, + (unsigned short )(MISCFIFO_SYNDATA_IDX + ii), + dwAL7230ChannelTable2[uChannel -1 ]);break ;case RF_NOTHING :
@@ -755,11 +761,7 @@ bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char byRFType,* Return Value: true if succeeded; false if failed. * */ -bool RFbSetPower ( -struct vnt_private *priv, -unsigned int rate, -u16 uCH -) +bool RFbSetPower (struct vnt_private *priv,unsigned int rate,u16 uCH) {bool ret = true;unsigned char byPwr =0 ;
@@ -893,12 +895,8 @@ bool RFbRawSetPower(* Return Value: none * */ -void -RFvRSSITodBm ( -struct vnt_private *priv, -unsigned char byCurrRSSI, -long *pldBm - ) +void RFvRSSITodBm (struct vnt_private *priv,unsigned char byCurrRSSI, +long *pldBm) {unsigned char byIdx = (((byCurrRSSI &0xC0 ) >>6 ) &0x03 );long b = (byCurrRSSI &0x3F );
Signature · 1 line
2.7.4
Greg KH
maintainerQuoted 3 lines · Payal Kshirsagar
Fix spaces around operator issue,
fix line over 80 characters issue
and fix lines should not end with parenthesis issue.
Only do one type of thing per patch. This needs to be a patch series, not just one single patch.
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 3 lines · Payal Kshirsagar
Fix spaces around operator issue,
fix line over 80 characters issue
and fix lines should not end with parenthesis issue.Only do one type of thing per patch. This needs to be a patch series, not just one single patch.
Okay, doing the same.
Thank you for letting me know,
payal
Quoted 4 lines
thanks,
greg k-h