summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/rf.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2013-02-12 20:36:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 10:48:24 -0800
commit4e9b5e2b8b7f1a9116d760a25f8ea98b3d5b64f4 (patch)
treec3e6b191b0c4e502f841045af939858194ecc8cc /drivers/staging/vt6656/rf.c
parente269fc2d129ade6543c22052755becf37e306e2a (diff)
staging: vt6656: replaced custom TRUE definition with true
Checkpatch findings were not resolved, just direct replacement. sed -i 's/\bTRUE\b/true/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/rf.c')
-rw-r--r--drivers/staging/vt6656/rf.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c
index 48c7c6dee611..a415705297b2 100644
--- a/drivers/staging/vt6656/rf.c
+++ b/drivers/staging/vt6656/rf.c
@@ -719,7 +719,7 @@ const u8 RFaby11aChannelIndex[200] = {
* Out:
* none
*
- * Return Value: TRUE if succeeded; false if failed.
+ * Return Value: true if succeeded; false if failed.
*
*/
int IFRFbWriteEmbedded(struct vnt_private *pDevice, u32 dwData)
@@ -735,7 +735,7 @@ int IFRFbWriteEmbedded(struct vnt_private *pDevice, u32 dwData)
MESSAGE_TYPE_WRITE_IFRF, 0, 0, 4, pbyData);
- return TRUE;
+ return true;
}
@@ -749,16 +749,16 @@ int IFRFbWriteEmbedded(struct vnt_private *pDevice, u32 dwData)
* Out:
* none
*
- * Return Value: TRUE if succeeded; false if failed.
+ * Return Value: true if succeeded; false if failed.
*
*/
int RFbSetPower(struct vnt_private *pDevice, u32 uRATE, u32 uCH)
{
- int bResult = TRUE;
+ int bResult = true;
u8 byPwr = pDevice->byCCKPwr;
if (pDevice->dwDiagRefCount)
- return TRUE;
+ return true;
if (uCH == 0)
return -EINVAL;
@@ -801,16 +801,16 @@ int RFbSetPower(struct vnt_private *pDevice, u32 uRATE, u32 uCH)
* Out:
* none
*
- * Return Value: TRUE if succeeded; false if failed.
+ * Return Value: true if succeeded; false if failed.
*
*/
int RFbRawSetPower(struct vnt_private *pDevice, u8 byPwr, u32 uRATE)
{
- int bResult = TRUE;
+ int bResult = true;
if (pDevice->byCurPwr == byPwr)
- return TRUE;
+ return true;
pDevice->byCurPwr = byPwr;
@@ -1125,7 +1125,7 @@ void RFbRFTableDownload(struct vnt_private *pDevice)
int s_bVT3226D0_11bLoCurrentAdjust(struct vnt_private *pDevice, u8 byChannel,
int b11bMode)
{
- int bResult = TRUE;
+ int bResult = true;
if (b11bMode)
bResult &= IFRFbWriteEmbedded(pDevice,