summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/channel.c
diff options
context:
space:
mode:
authorAndres More2013-02-13 02:36:29 +0100
committerGreg Kroah-Hartman2013-02-15 19:47:52 +0100
commite269fc2d129ade6543c22052755becf37e306e2a (patch)
tree450d3e2d954fe81682b36bf3bf165eec5f6809e1 /drivers/staging/vt6656/channel.c
parentstaging: vt6656: replace custom BOOL definition with bool (diff)
downloadkernel-qcow2-linux-e269fc2d129ade6543c22052755becf37e306e2a.tar.gz
kernel-qcow2-linux-e269fc2d129ade6543c22052755becf37e306e2a.tar.xz
kernel-qcow2-linux-e269fc2d129ade6543c22052755becf37e306e2a.zip
staging: vt6656: replaced custom FALSE definition with false
Checkpatch findings were not resolved, just direct replacement. sed -i 's/\bFALSE\b/false/g' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/channel.c')
-rw-r--r--drivers/staging/vt6656/channel.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/channel.c b/drivers/staging/vt6656/channel.c
index b969ade83f52..d58ca0ac78f2 100644
--- a/drivers/staging/vt6656/channel.c
+++ b/drivers/staging/vt6656/channel.c
@@ -50,7 +50,7 @@ static int msglevel = MSG_LEVEL_INFO;
static SChannelTblElement sChannelTbl[CB_MAX_CHANNEL+1] =
{
- {0, 0, FALSE},
+ {0, 0, false},
{1, 2412, TRUE},
{2, 2417, TRUE},
{3, 2422, TRUE},
@@ -392,14 +392,14 @@ ChannelValid(unsigned int CountryCode, unsigned int ChannelIndex)
{
bool bValid;
- bValid = FALSE;
+ bValid = false;
/*
* If Channel Index is invalid, return invalid
*/
if ((ChannelIndex > CB_MAX_CHANNEL) ||
(ChannelIndex == 0))
{
- bValid = FALSE;
+ bValid = false;
goto exit;
}
@@ -429,7 +429,7 @@ CHvChannelGetList (
)
{
if (uCountryCodeIdx >= CCODE_MAX) {
- return (FALSE);
+ return (false);
}
memcpy(pbyChannelTable, ChannelRuleTab[uCountryCodeIdx].bChannelIdxList, CB_MAX_CHANNEL);
return (TRUE);
@@ -438,18 +438,18 @@ CHvChannelGetList (
void CHvInitChannelTable(struct vnt_private *pDevice)
{
- int bMultiBand = FALSE;
+ int bMultiBand = false;
int ii;
for (ii = 1; ii <= CB_MAX_CHANNEL; ii++)
- sChannelTbl[ii].bValid = FALSE;
+ sChannelTbl[ii].bValid = false;
switch (pDevice->byRFType) {
case RF_AL2230:
case RF_AL2230S:
case RF_VT3226:
case RF_VT3226D0:
- bMultiBand = FALSE;
+ bMultiBand = false;
break;
case RF_AIROHA7230:
case RF_VT3342A0: