LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: tip-bot for Tony Lindgren <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: jason@lakedaemon.net, tglx@linutronix.de,
	linux-kernel@vger.kernel.org, balbi@ti.com, tony@atomide.com,
	hpa@zytor.com, mingo@kernel.org
Subject: [tip:irq/core] irqchip: omap-intc: Remove unused legacy interface for omap2
Date: Mon, 26 Jan 2015 02:44:33 -0800	[thread overview]
Message-ID: <tip-c7f2a2ac377626897ad68e63d24d85ee21f47bb1@git.kernel.org> (raw)
In-Reply-To: <1421187806-6804-3-git-send-email-tony@atomide.com>

Commit-ID:  c7f2a2ac377626897ad68e63d24d85ee21f47bb1
Gitweb:     http://git.kernel.org/tip/c7f2a2ac377626897ad68e63d24d85ee21f47bb1
Author:     Tony Lindgren <tony@atomide.com>
AuthorDate: Tue, 13 Jan 2015 14:23:26 -0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 26 Jan 2015 11:38:23 +0100

irqchip: omap-intc: Remove unused legacy interface for omap2

Nowadays omap2 is booting in device tree only mode so there is no
need to keep the legacy interface around for omap2_init_irq().

Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1421187806-6804-3-git-send-email-tony@atomide.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 drivers/irqchip/irq-omap-intc.c       | 8 --------
 include/linux/irqchip/irq-omap-intc.h | 1 -
 2 files changed, 9 deletions(-)

diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index b444d0e..a569c6d 100644
--- a/drivers/irqchip/irq-omap-intc.c
+++ b/drivers/irqchip/irq-omap-intc.c
@@ -364,14 +364,6 @@ out:
 		omap_ack_irq(NULL);
 }
 
-void __init omap2_init_irq(void)
-{
-	omap_nr_irqs = 96;
-	omap_nr_pending = 3;
-	omap_init_irq(OMAP24XX_IC_BASE, NULL);
-	set_handle_irq(omap_intc_handle_irq);
-}
-
 void __init omap3_init_irq(void)
 {
 	omap_nr_irqs = 96;
diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h
index bda426a..2e3d1af 100644
--- a/include/linux/irqchip/irq-omap-intc.h
+++ b/include/linux/irqchip/irq-omap-intc.h
@@ -18,7 +18,6 @@
 #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
 #define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
 
-void omap2_init_irq(void);
 void omap3_init_irq(void);
 
 int omap_irq_pending(void);

      parent reply	other threads:[~2015-01-26 10:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 22:23 [PATCH 0/2] Add support for dm81xx to omap intc, remove unused legacy support Tony Lindgren
2015-01-13 22:23 ` [PATCH 1/2] irqchip: omap-intc: Fix support for dm814 and dm816 Tony Lindgren
2015-01-14  1:16   ` Felipe Balbi
2015-01-26 10:44   ` [tip:irq/core] " tip-bot for Tony Lindgren
2015-01-13 22:23 ` [PATCH 2/2] irqchip: omap-intc: Remove unused legacy interface for omap2 Tony Lindgren
2015-01-14  1:17   ` Felipe Balbi
2015-01-26 10:44   ` tip-bot for Tony Lindgren [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=tip-c7f2a2ac377626897ad68e63d24d85ee21f47bb1@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=balbi@ti.com \
    --cc=hpa@zytor.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tony@atomide.com \
    --subject='Re: [tip:irq/core] irqchip: omap-intc: Remove unused legacy interface for omap2' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).