Skip to contentSkip to conversation

MIPS: AR7: Cleanup files effected by firmware changes.

PATCH New Steven J. Hill 1 participant 1 message Jun 26, 2012 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH v2 5/33 MIPS: AR7: Cleanup files effected by firmware changes.

From: "Steven J. Hill" <[email protected]>

Make headers consistent across the files and make changes based on running the checkpatch script.

---
 arch/mips/ar7/memory.c   |   18 ++++------------
 arch/mips/ar7/platform.c |   52 ++++++++++++++++++----------------------------
 arch/mips/ar7/prom.c     |   19 ++++-------------
 arch/mips/ar7/setup.c    |   19 +++++------------
 4 files changed, 33 insertions(+), 75 deletions(-)
arch/mips/ar7/memory.c +4 -14
index 3d7133d..e685cab 100644
@@ -1,20 +1,10 @@
 /*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
  * Copyright (C) 2007 Felix Fietkau <[email protected]>
  * Copyright (C) 2007 Eugene Konev <[email protected]>
- *
- * 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #include <linux/bootmem.h>
 #include <linux/init.h>
arch/mips/ar7/platform.c +20 -32

115 lines not on this page · raw message

arch/mips/ar7/prom.c +4 -15
index 9e5699a..eb91fc8 100644
@@ -1,21 +1,10 @@
 /*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
  * Carsten Langgaard, [email protected]
  * Copyright (C) 1999,2000 MIPS Technologies, Inc.  All rights reserved.
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License (Version 2) as
- *  published by the Free Software Foundation.
- *
- *  This program is distributed in the hope 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.
- *
- * Putting things on the screen/serial line using YAMONs facilities.
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
arch/mips/ar7/setup.c +5 -14
index ec318bb..0257f53 100644
@@ -1,19 +1,10 @@
 /*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
  * Carsten Langgaard, [email protected]
  * Copyright (C) 2000 MIPS Technologies, Inc.  All rights reserved.
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License (Version 2) as
- *  published by the Free Software Foundation.
- *
- *  This program is distributed in the hope 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.
  */
 #include <linux/init.h>
 #include <linux/ioport.h>
@@ -101,6 +92,6 @@ void __init plat_mem_setup(void)
 
 	fw_meminit();
 
-	printk(KERN_INFO "%s, ID: 0x%04x, Revision: 0x%02x\n",
+	pr_info("%s, ID: 0x%04x, Revision: 0x%02x\n",
 			get_system_type(), ar7_chip_id(), ar7_chip_rev());
 }
Signature · 1 line
1.7.10.3