Messages in this thread Patch in this message | | | From | Adil Mujeeb <> | Subject | [PATCH 2/9] Staging: winbond: phy_calibration: Fixed coding style issue | Date | Fri, 12 Oct 2012 22:07:08 +0530 |
| |
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
| |