* [PATCH] staging: et131x: et1310_phy.c coding style fixes.
@ 2010-04-10 7:12 Lars Lindley
2010-04-29 17:36 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Lars Lindley @ 2010-04-10 7:12 UTC (permalink / raw)
To: gregkh, alan, o.hartmann, tj, cl; +Cc: devel, linux-kernel, Lars Lindley
I fixed some long lines and whitespace around a =.
Signed-off-by: Lars Lindley <lindley@coyote.org>
---
drivers/staging/et131x/et1310_phy.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/et131x/et1310_phy.c b/drivers/staging/et131x/et1310_phy.c
index 34cd5d1..21c5eee 100644
--- a/drivers/staging/et131x/et1310_phy.c
+++ b/drivers/staging/et131x/et1310_phy.c
@@ -344,7 +344,7 @@ static void ET1310_PhyDuplexMode(struct et131x_adapter *etdev, u16 duplex)
static void ET1310_PhySpeedSelect(struct et131x_adapter *etdev, u16 speed)
{
u16 data;
- static const u16 bits[3]={0x0000, 0x2000, 0x0040};
+ static const u16 bits[3] = {0x0000, 0x2000, 0x0040};
/* Read the PHY control register */
MiRead(etdev, PHY_CONTROL, &data);
@@ -760,7 +760,8 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
if (etdev->linkspeed == TRUEPHY_SPEED_10MBPS) {
/* NOTE - Is there a way to query this without
* TruePHY?
- * && TRU_QueryCoreType(etdev->hTruePhy, 0) == EMI_TRUEPHY_A13O) {
+ * && TRU_QueryCoreType(etdev->hTruePhy, 0) ==
+ * EMI_TRUEPHY_A13O) {
*/
u16 Register18;
@@ -778,7 +779,7 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
* in the LinkDetectionDPC).
*/
if (!(etdev->Flags & fMP_ADAPTER_LINK_DETECTION) ||
- (etdev->MediaState == NETIF_STATUS_MEDIA_DISCONNECT)) {
+ (etdev->MediaState == NETIF_STATUS_MEDIA_DISCONNECT)) {
spin_lock_irqsave(&etdev->Lock, flags);
etdev->MediaState =
NETIF_STATUS_MEDIA_DISCONNECT;
@@ -836,7 +837,8 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
/*
* NOTE - Is there a way to query this without
* TruePHY?
- * && TRU_QueryCoreType(etdev->hTruePhy, 0)== EMI_TRUEPHY_A13O) {
+ * && TRU_QueryCoreType(etdev->hTruePhy, 0)==
+ * EMI_TRUEPHY_A13O) {
*/
u16 Register18;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: et131x: et1310_phy.c coding style fixes.
2010-04-10 7:12 [PATCH] staging: et131x: et1310_phy.c coding style fixes Lars Lindley
@ 2010-04-29 17:36 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-04-29 17:36 UTC (permalink / raw)
To: Lars Lindley; +Cc: gregkh, alan, o.hartmann, tj, cl, devel, linux-kernel
On Sat, Apr 10, 2010 at 09:12:01AM +0200, Lars Lindley wrote:
> I fixed some long lines and whitespace around a =.
>
> Signed-off-by: Lars Lindley <lindley@coyote.org>
> ---
> drivers/staging/et131x/et1310_phy.c | 10 ++++++----
This was already done by someone else, sorry :(
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-30 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-10 7:12 [PATCH] staging: et131x: et1310_phy.c coding style fixes Lars Lindley
2010-04-29 17:36 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.