From: tip-bot for Chen-Yu Tsai <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: mingo@kernel.org, maxime.ripard@free-electrons.com,
tglx@linutronix.de, jason@lakedaemon.net,
linux-kernel@vger.kernel.org, wens@csie.org,
marc.zyngier@arm.com, hpa@zytor.com
Subject: [tip:irq/core] irqchip/sunxi-nmi: Switch to of_io_request_and_map () from of_iomap()
Date: Fri, 9 Oct 2015 13:55:34 -0700 [thread overview]
Message-ID: <tip-0e841b04c829f59a5d5745f98d2857f48882efe9@git.kernel.org> (raw)
In-Reply-To: <1444063334-19832-3-git-send-email-wens@csie.org>
Commit-ID: 0e841b04c829f59a5d5745f98d2857f48882efe9
Gitweb: http://git.kernel.org/tip/0e841b04c829f59a5d5745f98d2857f48882efe9
Author: Chen-Yu Tsai <wens@csie.org>
AuthorDate: Tue, 6 Oct 2015 00:42:14 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 9 Oct 2015 22:47:28 +0200
irqchip/sunxi-nmi: Switch to of_io_request_and_map() from of_iomap()
Switch to the new of_io_request_and_map() call, so the IO resource is
properly held, and also shows up in /proc/iomem.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: http://lkml.kernel.org/r/1444063334-19832-3-git-send-email-wens@csie.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
drivers/irqchip/irq-sunxi-nmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-sunxi-nmi.c b/drivers/irqchip/irq-sunxi-nmi.c
index c4f7196..4ef1780 100644
--- a/drivers/irqchip/irq-sunxi-nmi.c
+++ b/drivers/irqchip/irq-sunxi-nmi.c
@@ -153,7 +153,7 @@ static int __init sunxi_sc_nmi_irq_init(struct device_node *node,
}
gc = irq_get_domain_generic_chip(domain, 0);
- gc->reg_base = of_iomap(node, 0);
+ gc->reg_base = of_io_request_and_map(node, 0, of_node_full_name(node));
if (!gc->reg_base) {
pr_err("unable to map resource\n");
ret = -ENOMEM;
prev parent reply other threads:[~2015-10-09 20:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 16:42 [PATCH v2 0/2] irqchip: sunxi-nmi: misc. / aesthetic improvements Chen-Yu Tsai
2015-10-05 16:42 ` [PATCH v2 1/2] irqchip: sunxi-nmi: Use driver name instead of DT node name for identification Chen-Yu Tsai
2015-10-05 22:03 ` Maxime Ripard
2015-10-09 20:55 ` [tip:irq/core] irqchip/sunxi-nmi: " tip-bot for Chen-Yu Tsai
2015-10-05 16:42 ` [PATCH v2 2/2] irqchip: sunxi-nmi: switch to of_io_request_and_map() from of_iomap() Chen-Yu Tsai
2015-10-05 22:02 ` Maxime Ripard
2015-10-09 20:55 ` tip-bot for Chen-Yu Tsai [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-0e841b04c829f59a5d5745f98d2857f48882efe9@git.kernel.org \
--to=tipbot@zytor.com \
--cc=hpa@zytor.com \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
--cc=wens@csie.org \
/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
Powered by JetHome