lkml.org 
[lkml]   [2012]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/9] Staging: winbond: phy_calibration: Fixed coding style issue
Date
Removed checkpatch.pl script reported ERRORs

Signed-off-by: Adil Mujeeb <mujeeb.adil@gmail.com>
---
.../drivers/staging/winbond/phy_calibration.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/linux-3.6-rc7/drivers/staging/winbond/phy_calibration.c b/linux-3.6-rc7/drivers/staging/winbond/phy_calibration.c
index 77a3fff..b881980 100644
--- a/linux-3.6-rc7/drivers/staging/winbond/phy_calibration.c
+++ b/linux-3.6-rc7/drivers/staging/winbond/phy_calibration.c
@@ -22,7 +22,7 @@
#define LOOP_TIMES 20
#define US 1000/* MICROSECOND*/

-#define AG_CONST 0.6072529350
+#define AG_CONST (0.6072529350)
#define FIXED(X) ((s32)((X) * 32768.0))
#define DEG2RAD(X) (0.017453 * (X))

@@ -296,7 +296,7 @@ void _sin_cos(s32 angle, s32 *sin, s32 *cos)
}
}

-static unsigned char hal_get_dxx_reg(struct hw_data *pHwData, u16 number, u32 * pValue)
+static unsigned char hal_get_dxx_reg(struct hw_data *pHwData, u16 number, u32 *pValue)
{
if (number < 0x1000)
number += 0x1000;
--
1.7.7.3


\
 
 \ /
  Last update: 2012-10-12 19:22    [W:1.479 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site