Staging: et131x: Small format/style tidyups
authorLars Lindley <lindley@coyote.org>
Wed, 19 May 2010 14:07:30 +0000 (15:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Jun 2010 23:08:45 +0000 (16:08 -0700)
I fixed indentation in one place and two long lines, a space and a brace
found by checkpatch.pl and fixed some long lines and whitespace around an =.

Signed-off-by: Lars Lindley <lindley@coyote.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_phy.c

index a6d9f29..21c5eee 100644 (file)
@@ -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;