Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932126AbbGTLWG (ORCPT ); Mon, 20 Jul 2015 07:22:06 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55973 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752565AbbGTLWE (ORCPT ); Mon, 20 Jul 2015 07:22:04 -0400 Date: Mon, 20 Jul 2015 04:21:51 -0700 From: tip-bot for Magnus Damm Message-ID: Cc: mingo@kernel.org, magnus.damm@gmail.com, hpa@zytor.com, damm+renesas@opensource.se, linux-kernel@vger.kernel.org, tglx@linutronix.de Reply-To: mingo@kernel.org, magnus.damm@gmail.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, damm+renesas@opensource.se In-Reply-To: <20150720100625.2552.63939.sendpatchset@little-apple> References: <20150720100625.2552.63939.sendpatchset@little-apple> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] irqchip/renesas-irqc: Use linear IRQ domain Git-Commit-ID: 7d153751c79e84a88e8c80e82ee5293085b9081b 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 Content-Length: 1815 Lines: 44 Commit-ID: 7d153751c79e84a88e8c80e82ee5293085b9081b Gitweb: http://git.kernel.org/tip/7d153751c79e84a88e8c80e82ee5293085b9081b Author: Magnus Damm AuthorDate: Mon, 20 Jul 2015 19:06:25 +0900 Committer: Thomas Gleixner CommitDate: Mon, 20 Jul 2015 13:19:00 +0200 irqchip/renesas-irqc: Use linear IRQ domain Use linear IRQ domain instead of irq_domain_add_simple() that also handles non-DT cases. This reduces the delta between the IRQC code and the generic chip implementation. Signed-off-by: Magnus Damm Cc: jason@lakedaemon.net Cc: geert+renesas@glider.be Cc: horms@verge.net.au Cc: Magnus Damm Link: http://lkml.kernel.org/r/20150720100625.2552.63939.sendpatchset@little-apple Signed-off-by: Thomas Gleixner --- drivers/irqchip/irq-renesas-irqc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-renesas-irqc.c b/drivers/irqchip/irq-renesas-irqc.c index 74e980f..7f75092 100644 --- a/drivers/irqchip/irq-renesas-irqc.c +++ b/drivers/irqchip/irq-renesas-irqc.c @@ -242,8 +242,8 @@ static int irqc_probe(struct platform_device *pdev) irq_chip->irq_set_wake = irqc_irq_set_wake; irq_chip->flags = IRQCHIP_MASK_ON_SUSPEND; - p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, - p->number_of_irqs, 0, + p->irq_domain = irq_domain_add_linear(pdev->dev.of_node, + p->number_of_irqs, &irqc_irq_domain_ops, p); if (!p->irq_domain) { ret = -ENXIO; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/