From: tip-bot for Magnus Damm <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: mingo@kernel.org, magnus.damm@gmail.com, hpa@zytor.com,
damm+renesas@opensource.se, linux-kernel@vger.kernel.org,
tglx@linutronix.de
Subject: [tip:irq/core] irqchip/renesas-irqc: Use linear IRQ domain
Date: Mon, 20 Jul 2015 04:21:51 -0700 [thread overview]
Message-ID: <tip-7d153751c79e84a88e8c80e82ee5293085b9081b@git.kernel.org> (raw)
In-Reply-To: <20150720100625.2552.63939.sendpatchset@little-apple>
Commit-ID: 7d153751c79e84a88e8c80e82ee5293085b9081b
Gitweb: http://git.kernel.org/tip/7d153751c79e84a88e8c80e82ee5293085b9081b
Author: Magnus Damm <damm+renesas@opensource.se>
AuthorDate: Mon, 20 Jul 2015 19:06:25 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
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 <damm+renesas@opensource.se>
Cc: jason@lakedaemon.net
Cc: geert+renesas@glider.be
Cc: horms@verge.net.au
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20150720100625.2552.63939.sendpatchset@little-apple
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
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;
next prev parent reply other threads:[~2015-07-20 11:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 10:06 [PATCH 00/03] irqchip: renesas-irqc: Minor update Magnus Damm
2015-07-20 10:06 ` [PATCH 01/03] irqchip: renesas-irqc: Get rid of IRQF_VALID Magnus Damm
2015-07-20 11:21 ` [tip:irq/core] irqchip/renesas-irqc: " tip-bot for Magnus Damm
2015-07-20 10:06 ` [PATCH 02/03] irqchip: renesas-irqc: Use linear IRQ domain Magnus Damm
2015-07-20 11:21 ` tip-bot for Magnus Damm [this message]
2015-07-20 10:06 ` [PATCH 03/03] irqchip: renesas-irqc: Make use of irq_find_mapping() Magnus Damm
2015-07-20 11:22 ` [tip:irq/core] irqchip/renesas-irqc: Make use of irq_find_mapping () tip-bot for Magnus Damm
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-7d153751c79e84a88e8c80e82ee5293085b9081b@git.kernel.org \
--to=tipbot@zytor.com \
--cc=damm+renesas@opensource.se \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).