public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, Kyle McMartin <kyle@mcmartin.ca>,
	linux-parisc@vger.kernel.org
Subject: [patch 07/13] parisc: Fixup last users of irq_chip->typename
Date: Tue, 17 Nov 2009 22:50:59 -0000	[thread overview]
Message-ID: <20091117224916.604120310@linutronix.de> (raw)
In-Reply-To: 20091117224852.846805939@linutronix.de

[-- Attachment #1: parisc-replace-obsolete-typename.patch --]
[-- Type: text/plain, Size: 3518 bytes --]

The typename member of struct irq_chip was kept for migration purposes
and is obsolete since more than 2 years. Fix up the leftovers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: linux-parisc@vger.kernel.org
---
 arch/parisc/kernel/irq.c |    4 ++--
 drivers/parisc/dino.c    |    2 +-
 drivers/parisc/eisa.c    |    2 +-
 drivers/parisc/gsc.c     |    2 +-
 drivers/parisc/iosapic.c |    2 +-
 drivers/parisc/superio.c |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

Index: linux-2.6/arch/parisc/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/parisc/kernel/irq.c
+++ linux-2.6/arch/parisc/kernel/irq.c
@@ -145,7 +145,7 @@ static int cpu_set_affinity_irq(unsigned
 #endif
 
 static struct irq_chip cpu_interrupt_type = {
-	.typename	= "CPU",
+	.name		= "CPU",
 	.startup	= cpu_startup_irq,
 	.shutdown	= cpu_disable_irq,
 	.enable		= cpu_enable_irq,
@@ -192,7 +192,7 @@ int show_interrupts(struct seq_file *p, 
 		seq_printf(p, "%10u ", kstat_irqs(i));
 #endif
 
-		seq_printf(p, " %14s", irq_desc[i].chip->typename);
+		seq_printf(p, " %14s", irq_desc[i].chip->name);
 #ifndef PARISC_IRQ_CR16_COUNTS
 		seq_printf(p, "  %s", action->name);
 
Index: linux-2.6/drivers/parisc/dino.c
===================================================================
--- linux-2.6.orig/drivers/parisc/dino.c
+++ linux-2.6/drivers/parisc/dino.c
@@ -354,7 +354,7 @@ static unsigned int dino_startup_irq(uns
 }
 
 static struct irq_chip dino_interrupt_type = {
-	.typename	= "GSC-PCI",
+	.name		= "GSC-PCI",
 	.startup	= dino_startup_irq,
 	.shutdown	= dino_disable_irq,
 	.enable		= dino_enable_irq, 
Index: linux-2.6/drivers/parisc/eisa.c
===================================================================
--- linux-2.6.orig/drivers/parisc/eisa.c
+++ linux-2.6/drivers/parisc/eisa.c
@@ -189,7 +189,7 @@ static unsigned int eisa_startup_irq(uns
 }
 
 static struct irq_chip eisa_interrupt_type = {
-	.typename =	"EISA",
+	.name	 =	"EISA",
 	.startup =	eisa_startup_irq,
 	.shutdown =	eisa_disable_irq,
 	.enable =	eisa_enable_irq,
Index: linux-2.6/drivers/parisc/gsc.c
===================================================================
--- linux-2.6.orig/drivers/parisc/gsc.c
+++ linux-2.6/drivers/parisc/gsc.c
@@ -149,7 +149,7 @@ static unsigned int gsc_asic_startup_irq
 }
 
 static struct irq_chip gsc_asic_interrupt_type = {
-	.typename =	"GSC-ASIC",
+	.name	 =	"GSC-ASIC",
 	.startup =	gsc_asic_startup_irq,
 	.shutdown =	gsc_asic_disable_irq,
 	.enable =	gsc_asic_enable_irq,
Index: linux-2.6/drivers/parisc/iosapic.c
===================================================================
--- linux-2.6.orig/drivers/parisc/iosapic.c
+++ linux-2.6/drivers/parisc/iosapic.c
@@ -730,7 +730,7 @@ static int iosapic_set_affinity_irq(unsi
 #endif
 
 static struct irq_chip iosapic_interrupt_type = {
-	.typename =	"IO-SAPIC-level",
+	.name	 =	"IO-SAPIC-level",
 	.startup =	iosapic_startup_irq,
 	.shutdown =	iosapic_disable_irq,
 	.enable =	iosapic_enable_irq,
Index: linux-2.6/drivers/parisc/superio.c
===================================================================
--- linux-2.6.orig/drivers/parisc/superio.c
+++ linux-2.6/drivers/parisc/superio.c
@@ -326,7 +326,7 @@ static unsigned int superio_startup_irq(
 }
 
 static struct irq_chip superio_interrupt_type = {
-	.typename =	SUPERIO,
+	.name	 =	SUPERIO,
 	.startup =	superio_startup_irq,
 	.shutdown =	superio_disable_irq,
 	.enable =	superio_enable_irq,



  parent reply	other threads:[~2009-11-17 22:51 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17 22:50 [patch 00/13] Remove the last leftover of the irq_chip migration: irq_chip.typename Thomas Gleixner
2009-11-17 22:50 ` [patch 01/13] x86: Fixup last users of irq_chip->typename Thomas Gleixner
2009-11-17 22:50 ` [patch 02/13] xtensa: " Thomas Gleixner
2009-11-17 22:50 ` [patch 03/13] um: " Thomas Gleixner
2009-11-17 22:50 ` [patch 04/13] sparc: " Thomas Gleixner
2009-11-18  7:26   ` David Miller
2009-11-17 22:50 ` [patch 05/13] sh: " Thomas Gleixner
2009-11-18  1:52   ` Paul Mundt
2009-11-17 22:50 ` [patch 06/13] powerpc: " Thomas Gleixner
2009-11-18 17:55   ` Scott Wood
2009-11-18 20:41     ` Thomas Gleixner
2009-11-19  9:44       ` [patch] powerpc: Fixup last users of irq_chip->typename - V2 Thomas Gleixner
2009-11-19 21:48         ` Geoff Levand
2009-11-21  8:01       ` [patch 06/13] powerpc: Fixup last users of irq_chip->typename Grant Likely
2009-11-17 22:50 ` Thomas Gleixner [this message]
2009-11-18 22:13   ` [patch 07/13] parisc: " Kyle McMartin
2009-11-17 22:51 ` [patch 08/13] mips: " Thomas Gleixner
2009-11-17 23:05   ` Ralf Baechle
2009-11-17 23:09     ` Thomas Gleixner
2009-11-17 23:22       ` Ralf Baechle
2009-11-17 22:51 ` [patch 09/13] m32r: " Thomas Gleixner
2009-11-18  3:29   ` Hirokazu Takata
2009-11-17 22:51 ` [patch 10/13] cris: " Thomas Gleixner
2009-11-19 11:15   ` Jesper Nilsson
2009-11-19 11:18     ` Thomas Gleixner
2009-11-17 22:51 ` [patch 11/13] arm: " Thomas Gleixner
2009-11-17 22:51 ` [patch 12/13] alpha: " Thomas Gleixner
2009-12-01  3:52   ` Matt Turner
2009-11-17 22:51 ` [patch 13/13] genirq: Remove typename from struct irq_chip Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091117224916.604120310@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=kyle@mcmartin.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox