Staging : winbond : fix coding style issue in phy_calibration.c

Thus us a patch to the phy_calibration.c file that fixes up coding style warning found by the checkpatch.pl tool

Signed-off-by: Vincent Abel-Grimalt <kolymine@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Vincent Abel-Grimalt 2011-08-10 01:13:38 +02:00 committed by Greg Kroah-Hartman
parent 6efa04ebab
commit af69c2943f
1 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@
#define AG_CONST 0.6072529350
#define FIXED(X) ((s32)((X) * 32768.0))
#define DEG2RAD(X) 0.017453 * (X)
#define DEG2RAD(X) (0.017453 * (X))
static const s32 Angles[] = {
FIXED(DEG2RAD(45.0)), FIXED(DEG2RAD(26.565)), FIXED(DEG2RAD(14.0362)),
@ -51,7 +51,7 @@ s32 _s13_to_s32(u32 data)
if ((data & BIT(12)) != 0)
val |= 0xFFFFF000;
return ((s32) val);
return (s32) val;
}
u32 _s32_to_s13(s32 data)
@ -184,7 +184,7 @@ s32 _floor(s32 n)
else
n -= 5;
return (n/10);
return n/10;
}
/****************************************************************************/