All of lore.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>
Subject: [patch 13/13] genirq: Remove typename from struct irq_chip
Date: Tue, 17 Nov 2009 22:51:42 -0000	[thread overview]
Message-ID: <20091117224916.856352649@linutronix.de> (raw)
In-Reply-To: 20091117224852.846805939@linutronix.de

[-- Attachment #1: genirq-remove-irqchip-typename.patch --]
[-- Type: text/plain, Size: 1399 bytes --]

The last users of the migration helper are gone. Remove it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 include/linux/irq.h |    6 ------
 kernel/irq/chip.c   |    2 --
 2 files changed, 8 deletions(-)

Index: linux-2.6/include/linux/irq.h
===================================================================
--- linux-2.6.orig/include/linux/irq.h
+++ linux-2.6/include/linux/irq.h
@@ -106,7 +106,6 @@ struct msi_desc;
  * @bus_sync_unlock:	function to sync and unlock slow bus (i2c) chips
  *
  * @release:		release function solely used by UML
- * @typename:		obsoleted by name, kept as migration helper
  */
 struct irq_chip {
 	const char	*name;
@@ -135,11 +134,6 @@ struct irq_chip {
 #ifdef CONFIG_IRQ_RELEASE_METHOD
 	void		(*release)(unsigned int irq, void *dev_id);
 #endif
-	/*
-	 * For compatibility, ->typename is copied into ->name.
-	 * Will disappear.
-	 */
-	const char	*typename;
 };
 
 struct timer_rand_state;
Index: linux-2.6/kernel/irq/chip.c
===================================================================
--- linux-2.6.orig/kernel/irq/chip.c
+++ linux-2.6/kernel/irq/chip.c
@@ -310,8 +310,6 @@ void irq_chip_set_defaults(struct irq_ch
 	if (!chip->shutdown)
 		chip->shutdown = chip->disable != default_disable ?
 			chip->disable : default_shutdown;
-	if (!chip->name)
-		chip->name = chip->typename;
 	if (!chip->end)
 		chip->end = dummy_irq_chip.end;
 }



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

Thread overview: 41+ 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-17 22:50   ` Thomas Gleixner
2009-11-18  7:26   ` David Miller
2009-11-18  7:26     ` David Miller
2009-11-17 22:50 ` [patch 05/13] sh: " Thomas Gleixner
2009-11-17 22:50   ` Thomas Gleixner
2009-11-18  1:52   ` Paul Mundt
2009-11-18  1:52     ` Paul Mundt
2009-11-17 22:50 ` [patch 06/13] powerpc: " Thomas Gleixner
2009-11-17 22:50   ` Thomas Gleixner
2009-11-18 17:55   ` Scott Wood
2009-11-18 17:55     ` Scott Wood
2009-11-18 20:41     ` Thomas Gleixner
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  9:44         ` 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-21  8:01         ` Grant Likely
2009-11-17 22:50 ` [patch 07/13] parisc: " Thomas Gleixner
2009-11-17 22:50   ` 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   ` Thomas Gleixner
2009-11-17 22:51 ` [patch 12/13] alpha: " Thomas Gleixner
2009-12-01  3:52   ` Matt Turner
2009-12-01  3:52     ` Matt Turner
2009-11-17 22:51 ` Thomas Gleixner [this message]

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.856352649@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.