diff options
author | Frank A. Cancio Bello <frank@generalsoftwareinc.com> | 2019-11-02 02:23:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-03 15:09:00 +0300 |
commit | 31d0c9d9b77df929c127198e43f106cb1cf0d9f4 (patch) | |
tree | 9eb24e6faf77d0cac526d90e8711b25729fdfd30 /drivers/staging/vt6655 | |
parent | ebacc1a7654f37b95545daf4ec282518eeabbfe4 (diff) | |
download | linux-31d0c9d9b77df929c127198e43f106cb1cf0d9f4.tar.xz |
staging: vt6655: Fix open ended lines
This commit arrange function declaration in one line to avoid lines
ending with '(' and comply in that way with the preferred coding
style for the linux kernel.
Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Frank A. Cancio Bello <frank@generalsoftwareinc.com>
Link: https://lore.kernel.org/r/bdbc1d472a8d90487d691e82ab8154a5733e6a0f.1572649242.git.frank@generalsoftwareinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/power.c | 10 | ||||
-rw-r--r-- | drivers/staging/vt6655/rf.h | 19 |
2 files changed, 7 insertions, 22 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c index 9725de3bca6a..bfd598a93b04 100644 --- a/drivers/staging/vt6655/power.c +++ b/drivers/staging/vt6655/power.c @@ -97,10 +97,7 @@ void PSvEnablePowerSaving(struct vnt_private *priv, * */ -void -PSvDisablePowerSaving( - struct vnt_private *priv -) +void PSvDisablePowerSaving(struct vnt_private *priv) { /* disable power saving hw function */ MACbPSWakeup(priv); @@ -126,10 +123,7 @@ PSvDisablePowerSaving( * */ -bool -PSbIsNextTBTTWakeUp( - struct vnt_private *priv -) +bool PSbIsNextTBTTWakeUp(struct vnt_private *priv) { struct ieee80211_hw *hw = priv->hw; struct ieee80211_conf *conf = &hw->conf; diff --git a/drivers/staging/vt6655/rf.h b/drivers/staging/vt6655/rf.h index 042ac67a9709..affb70eba10f 100644 --- a/drivers/staging/vt6655/rf.h +++ b/drivers/staging/vt6655/rf.h @@ -61,23 +61,14 @@ bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData); bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, u16 byChannel); -bool RFbInit( - struct vnt_private *priv -); +bool RFbInit(struct vnt_private *priv); bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char byRFType, u16 uChannel); bool RFbSetPower(struct vnt_private *priv, unsigned int rate, u16 uCH); -bool RFbRawSetPower( - struct vnt_private *priv, - unsigned char byPwr, - unsigned int rate -); +bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr, + unsigned int rate); -void -RFvRSSITodBm( - struct vnt_private *priv, - unsigned char byCurrRSSI, - long *pldBm -); +void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI, + long *pldBm); /* {{ RobertYu: 20050104 */ bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel); |