From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755579AbdJPTNL (ORCPT ); Mon, 16 Oct 2017 15:13:11 -0400 Received: from terminus.zytor.com ([65.50.211.136]:48033 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752651AbdJPTNK (ORCPT ); Mon, 16 Oct 2017 15:13:10 -0400 Date: Mon, 16 Oct 2017 12:09:49 -0700 From: tip-bot for Ladislav Michl Message-ID: Cc: tglx@linutronix.de, marc.zyngier@arm.com, jason@lakedaemon.net, mingo@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, ladis@linux-mips.org, tony@atomide.com Reply-To: tony@atomide.com, ladis@linux-mips.org, mingo@kernel.org, jason@lakedaemon.net, marc.zyngier@arm.com, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org In-Reply-To: <20171016160422.uu2i7vvrgy7cc4aw@lenoch> References: <20171016160422.uu2i7vvrgy7cc4aw@lenoch> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] irqchip/irq-omap-intc: Remove omap3_init_irq() Git-Commit-ID: 62518c02f75ff9b19c07b53b8e13ed878211b795 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 62518c02f75ff9b19c07b53b8e13ed878211b795 Gitweb: https://git.kernel.org/tip/62518c02f75ff9b19c07b53b8e13ed878211b795 Author: Ladislav Michl AuthorDate: Mon, 16 Oct 2017 18:04:22 +0200 Committer: Thomas Gleixner CommitDate: Mon, 16 Oct 2017 21:05:14 +0200 irqchip/irq-omap-intc: Remove omap3_init_irq() All mach-omap2 variants are device tree only now, so this function is dead code. Remove it. Signed-off-by: Ladislav Michl Signed-off-by: Thomas Gleixner Acked-by: Tony Lindgren Cc: Marc Zyngier Cc: linux-omap@vger.kernel.org Cc: Jason Cooper Link: https://lkml.kernel.org/r/20171016160422.uu2i7vvrgy7cc4aw@lenoch --- drivers/irqchip/irq-omap-intc.c | 12 ------------ include/linux/irqchip/irq-omap-intc.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c index b04a8ac..05f7f06 100644 --- a/drivers/irqchip/irq-omap-intc.c +++ b/drivers/irqchip/irq-omap-intc.c @@ -25,10 +25,6 @@ #include -/* Define these here for now until we drop all board-files */ -#define OMAP24XX_IC_BASE 0x480fe000 -#define OMAP34XX_IC_BASE 0x48200000 - /* selected INTC register offsets */ #define INTC_REVISION 0x0000 @@ -364,14 +360,6 @@ omap_intc_handle_irq(struct pt_regs *regs) handle_domain_irq(domain, irqnr, regs); } -void __init omap3_init_irq(void) -{ - omap_nr_irqs = 96; - omap_nr_pending = 3; - omap_init_irq(OMAP34XX_IC_BASE, NULL); - set_handle_irq(omap_intc_handle_irq); -} - static int __init intc_of_init(struct device_node *node, struct device_node *parent) { diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h index 2e3d1af..f19ccee 100644 --- a/include/linux/irqchip/irq-omap-intc.h +++ b/include/linux/irqchip/irq-omap-intc.h @@ -18,8 +18,6 @@ #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H #define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H -void omap3_init_irq(void); - int omap_irq_pending(void); void omap_intc_save_context(void); void omap_intc_restore_context(void);