Skip to contentSkip to conversation

atl1: remove whitespace damage

PATCH In review Jay Cliburn 2 participants 2 messages Feb 4, 2007 – Feb 7, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 atl1: remove whitespace damage

From: Jay Cliburn <[email protected]>

atl1: fix whitespace damage

Remove trailing whitespace and spaces preceding tabs.

---

 drivers/net/atl1/atl1.h         |    8 +-
 drivers/net/atl1/atl1_ethtool.c |   42 ++++++------
 drivers/net/atl1/atl1_hw.h      |   14 ++--
 drivers/net/atl1/atl1_main.c    |  130 +++++++++++++++++++-------------------
 drivers/net/atl1/atl1_param.c   |   22 +++---
 5 files changed, 108 insertions(+), 108 deletions(-)
drivers/net/atl1/atl1.h +4 -4
index da4bf87..3ff978b 100644
@@ -2,20 +2,20 @@
  * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
  * Copyright(c) 2006 Chris Snook <[email protected]>
  * Copyright(c) 2006 Jay Cliburn <[email protected]>
- * 
+ *
  * Derived from Intel e1000 driver
  * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the Free
  * Software Foundation; either version 2 of the License, or (at your option)
  * any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  * more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along with
  * this program; if not, write to the Free Software Foundation, Inc., 59
  * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
drivers/net/atl1/atl1_ethtool.c +21 -21

129 lines not on this page · raw message

drivers/net/atl1/atl1_hw.c +0 -0
drivers/net/atl1/atl1_hw.h +7 -7
index 41f3ca7..100c09c 100644
@@ -2,26 +2,26 @@
  * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
  * Copyright(c) 2006 Chris Snook <[email protected]>
  * Copyright(c) 2006 Jay Cliburn <[email protected]>
- * 
+ *
  * Derived from Intel e1000 driver
  * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the Free
  * Software Foundation; either version 2 of the License, or (at your option)
  * any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  * more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along with
  * this program; if not, write to the Free Software Foundation, Inc., 59
  * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- * 
- * There are a lot of defines in here that are unused and/or have cryptic 
- * names.  Please leave them alone, as they're the closest thing we have 
+ *
+ * There are a lot of defines in here that are unused and/or have cryptic
+ * names.  Please leave them alone, as they're the closest thing we have
  * to a spec from Attansic at present. *ahem* -- CHS
  */
 
drivers/net/atl1/atl1_main.c +65 -65

409 lines not on this page · raw message

drivers/net/atl1/atl1_param.c +11 -11
index d9aabfa..c407214 100644
@@ -2,20 +2,20 @@
  * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
  * Copyright(c) 2006 Chris Snook <[email protected]>
  * Copyright(c) 2006 Jay Cliburn <[email protected]>
- * 
+ *
  * Derived from Intel e1000 driver
  * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the Free
  * Software Foundation; either version 2 of the License, or (at your option)
  * any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  * more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along with
  * this program; if not, write to the Free Software Foundation, Inc., 59
  * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
@@ -105,18 +105,18 @@ static int __devinit atl1_validate_option(int *value, struct atl1_option *opt)
 	case enable_option:
 		switch (*value) {
 		case OPTION_ENABLED:
-			printk(KERN_INFO "%s: %s Enabled\n", atl1_driver_name, 
+			printk(KERN_INFO "%s: %s Enabled\n", atl1_driver_name,
 				opt->name);
 			return 0;
 		case OPTION_DISABLED:
-			printk(KERN_INFO "%s: %s Disabled\n", atl1_driver_name, 
+			printk(KERN_INFO "%s: %s Disabled\n", atl1_driver_name,
 				opt->name);
 			return 0;
 		}
 		break;
 	case range_option:
 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
-			printk(KERN_INFO "%s: %s set to %i\n", 
+			printk(KERN_INFO "%s: %s set to %i\n",
 				atl1_driver_name, opt->name, *value);
 			return 0;
 		}
@@ -160,16 +160,16 @@ void __devinit atl1_check_options(struct atl1_adapter *adapter)
 {
 	int bd = adapter->bd_number;
 	if (bd >= ATL1_MAX_NIC) {
-		printk(KERN_NOTICE "%s: warning: no configuration for board #%i\n", 
+		printk(KERN_NOTICE "%s: warning: no configuration for board #%i\n",
 			atl1_driver_name, bd);
-		printk(KERN_NOTICE "%s: using defaults for all values\n", 
+		printk(KERN_NOTICE "%s: using defaults for all values\n",
 			atl1_driver_name);
 	}
 	{			/* Interrupt Moderate Timer */
 		struct atl1_option opt = {
 			.type = range_option,
 			.name = "Interrupt Moderator Timer",
-			.err = "using default of " 
+			.err = "using default of "
 				__MODULE_STRING(DEFAULT_INT_MOD_CNT),
 			.def = DEFAULT_INT_MOD_CNT,
 			.arg = {.r =
@@ -189,7 +189,7 @@ void __devinit atl1_check_options(struct atl1_adapter *adapter)
 			.type = range_option,
 			.name = "SPI Flash Vendor",
 			.err = "using default of "
-			    	__MODULE_STRING(FLASH_VENDOR_DEFAULT),
+				__MODULE_STRING(FLASH_VENDOR_DEFAULT),
 			.def = DEFAULT_INT_MOD_CNT,
 			.arg = {.r =
 				{.min = FLASH_VENDOR_MIN,.max =