[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1313454275-5604-7-git-send-email-me@akshayjoshi.com>
Date: Mon, 15 Aug 2011 20:24:33 -0400
From: Akshay Joshi <me@...hayjoshi.com>
To: Pavel Machek <pavel@....cz>, Greg Kroah-Hartman <gregkh@...e.de>,
Pekka Enberg <penberg@...nel.org>,
Akshay Joshi <me@...hayjoshi.com>,
Chihau Chau <chihau@...il.com>, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 7/9] Staging: Winbond: Fix parentheses in returns.
Removes parentheses when calling return, since return is not a function.
Signed-off-by: Akshay Joshi <me@...hayjoshi.com>
---
drivers/staging/winbond/phy_calibration.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/winbond/phy_calibration.c b/drivers/staging/winbond/phy_calibration.c
index c5a07fb..816fe7c 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -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;
}
/****************************************************************************/
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists