summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/channel.c
diff options
context:
space:
mode:
authorJoe Perches2013-03-19 04:55:37 +0100
committerGreg Kroah-Hartman2013-03-25 19:16:16 +0100
commit5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971 (patch)
tree9225bb9e3cd826e70d282cb05e6d7d174a864726 /drivers/staging/vt6655/channel.c
parentstaging: vt6655: Remove commented out printks (diff)
downloadkernel-qcow2-linux-5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971.tar.gz
kernel-qcow2-linux-5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971.tar.xz
kernel-qcow2-linux-5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971.zip
staging: vt6655: Convert to kernel brace style
Move braces around to be more kernel like. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/channel.c')
-rw-r--r--drivers/staging/vt6655/channel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c
index 0005de8b795e..ccc1051d8dbc 100644
--- a/drivers/staging/vt6655/channel.c
+++ b/drivers/staging/vt6655/channel.c
@@ -382,8 +382,7 @@ bool is_channel_valid(unsigned int ChannelIndex)
* If Channel Index is invalid, return invalid
*/
if ((ChannelIndex > CB_MAX_CHANNEL) ||
- (ChannelIndex == 0))
- {
+ (ChannelIndex == 0)) {
bValid = false;
goto exit;
}
@@ -551,8 +550,7 @@ bool set_channel(void *pDeviceHandler, unsigned int uConnectionChannel)
//{{ RobertYu: 20041202
//// TX_PE will reserve 3 us for MAX2829 A mode only, it is for better TX throughput
- if (pDevice->byRFType == RF_AIROHA7230)
- {
+ if (pDevice->byRFType == RF_AIROHA7230) {
RFbAL7230SelectChannelPostProcess(pDevice->PortOffset, pDevice->byCurrentCh, (unsigned char)uConnectionChannel);
}
//}} RobertYu