From: kgene@kernel.org (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Remove open-coded version of IRQCHIP_DECLARE
Date: Tue, 13 Oct 2015 04:07:47 +0900 [thread overview]
Message-ID: <561C0503.3050006@kernel.org> (raw)
In-Reply-To: <1443803057-9007-1-git-send-email-marc.zyngier@arm.com>
On 10/03/15 01:24, Marc Zyngier wrote:
> Now that the IRQCHIP_DECLARE macro has been moved to linux/irqchip.h,
> it becomes possible to cleanup the open-coded versions of the same
> macro that have been added to some private irqchips implementations.
>
> Cc: Kukjin Kim <kgene@kernel.org>
Acked-by: Kukjin Kim <kgene@kernel.org>
Thanks,
Kukjin
> Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: Sascha Hauer <kernel@pengutronix.de>
> Cc: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> ---
> arch/arm/mach-exynos/suspend.c | 3 ++-
> arch/arm/mach-imx/gpc.c | 8 ++------
> arch/arm/mach-omap2/omap-wakeupgen.c | 8 ++------
> 3 files changed, 6 insertions(+), 13 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c
> index e00eb39..dfb1fcf 100644
> --- a/arch/arm/mach-exynos/suspend.c
> +++ b/arch/arm/mach-exynos/suspend.c
> @@ -19,6 +19,7 @@
> #include <linux/cpu_pm.h>
> #include <linux/io.h>
> #include <linux/irq.h>
> +#include <linux/irqchip.h>
> #include <linux/irqdomain.h>
> #include <linux/of_address.h>
> #include <linux/err.h>
> @@ -262,7 +263,7 @@ static int __init exynos_pmu_irq_init(struct device_node *node,
> return 0;
> }
>
> -#define EXYNOS_PMU_IRQ(symbol, name) OF_DECLARE_2(irqchip, symbol, name, exynos_pmu_irq_init)
> +#define EXYNOS_PMU_IRQ(symbol, name) IRQCHIP_DECLARE(symbol, name, exynos_pmu_irq_init)
>
> EXYNOS_PMU_IRQ(exynos3250_pmu_irq, "samsung,exynos3250-pmu");
> EXYNOS_PMU_IRQ(exynos4210_pmu_irq, "samsung,exynos4210-pmu");
[...]
next prev parent reply other threads:[~2015-10-12 19:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 16:24 [PATCH] ARM: Remove open-coded version of IRQCHIP_DECLARE Marc Zyngier
2015-10-04 23:52 ` Krzysztof Kozlowski
2015-10-06 15:29 ` Marc Zyngier
2015-10-08 6:49 ` Shawn Guo
2015-10-12 19:07 ` Kukjin Kim [this message]
2015-10-12 20:47 ` Tony Lindgren
2015-10-13 14:15 ` Joel Porquet
-- strict thread matches above, loose matches on Subject: below --
2015-10-16 14:21 Marc Zyngier
2015-10-22 16:53 ` Olof Johansson
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=561C0503.3050006@kernel.org \
--to=kgene@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).