Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af69c294 authored by Vincent Abel-Grimalt's avatar Vincent Abel-Grimalt Committed by Greg Kroah-Hartman
Browse files

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: default avatarVincent Abel-Grimalt <kolymine@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6efa04eb
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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;
}

/****************************************************************************/