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>,
	"David S. Miller" <davem@davemloft.net>,
	sparclinux@vger.kernel.org
Subject: [patch 04/13] sparc: Fixup last users of irq_chip->typename
Date: Tue, 17 Nov 2009 22:50:40 -0000	[thread overview]
Message-ID: <20091117224916.491090342@linutronix.de> (raw)
In-Reply-To: 20091117224852.846805939@linutronix.de

[-- Attachment #1: sparc-replace-obsolete-typename.patch --]
[-- Type: text/plain, Size: 2090 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: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
---
 arch/sparc/kernel/irq_64.c  |    8 ++++----
 arch/sparc/kernel/pci_msi.c |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Index: linux-2.6/arch/sparc/kernel/irq_64.c
===================================================================
--- linux-2.6.orig/arch/sparc/kernel/irq_64.c
+++ linux-2.6/arch/sparc/kernel/irq_64.c
@@ -187,7 +187,7 @@ int show_interrupts(struct seq_file *p, 
 		for_each_online_cpu(j)
 			seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
 #endif
-		seq_printf(p, " %9s", irq_desc[i].chip->typename);
+		seq_printf(p, " %9s", irq_desc[i].chip->name);
 		seq_printf(p, "  %s", action->name);
 
 		for (action=action->next; action; action = action->next)
@@ -484,7 +484,7 @@ static void sun4v_virq_eoi(unsigned int 
 }
 
 static struct irq_chip sun4u_irq = {
-	.typename	= "sun4u",
+	.name		= "sun4u",
 	.enable		= sun4u_irq_enable,
 	.disable	= sun4u_irq_disable,
 	.eoi		= sun4u_irq_eoi,
@@ -492,7 +492,7 @@ static struct irq_chip sun4u_irq = {
 };
 
 static struct irq_chip sun4v_irq = {
-	.typename	= "sun4v",
+	.name		= "sun4v",
 	.enable		= sun4v_irq_enable,
 	.disable	= sun4v_irq_disable,
 	.eoi		= sun4v_irq_eoi,
@@ -500,7 +500,7 @@ static struct irq_chip sun4v_irq = {
 };
 
 static struct irq_chip sun4v_virq = {
-	.typename	= "vsun4v",
+	.name		= "vsun4v",
 	.enable		= sun4v_virq_enable,
 	.disable	= sun4v_virq_disable,
 	.eoi		= sun4v_virq_eoi,
Index: linux-2.6/arch/sparc/kernel/pci_msi.c
===================================================================
--- linux-2.6.orig/arch/sparc/kernel/pci_msi.c
+++ linux-2.6/arch/sparc/kernel/pci_msi.c
@@ -112,7 +112,7 @@ static void free_msi(struct pci_pbm_info
 }
 
 static struct irq_chip msi_irq = {
-	.typename	= "PCI-MSI",
+	.name		= "PCI-MSI",
 	.mask		= mask_msi_irq,
 	.unmask		= unmask_msi_irq,
 	.enable		= unmask_msi_irq,



  parent reply	other threads:[~2009-11-17 22:52 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 ` Thomas Gleixner [this message]
2009-11-18  7:26   ` [patch 04/13] sparc: " 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 ` [patch 07/13] parisc: " Thomas Gleixner
2009-11-18 22:13   ` 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.491090342@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sparclinux@vger.kernel.org \
    /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