pinctrl: exynos: Mark exynos_irq_demux_eint as inline
authorTomasz Figa <t.figa@samsung.com>
Thu, 20 Sep 2012 22:33:58 +0000 (07:33 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Sep 2012 22:33:58 +0000 (07:33 +0900)
The exynos_irq_demux_eint utility function is used in chained IRQ
handler for EINT16-31 to handle multiplexed interrupts. Inlining it
should improve the performance a bit.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/pinctrl/pinctrl-exynos.c

index 56489714cd704a93da706206d4eaec06fad2b7af..49ef5a2f79aea1c63abe750426164372c0995be1 100644 (file)
@@ -376,7 +376,7 @@ static void exynos_irq_eint0_15(unsigned int irq, struct irq_desc *desc)
        chained_irq_exit(chip, desc);
 }
 
-static void exynos_irq_demux_eint(int irq_base, unsigned long pend,
+static inline void exynos_irq_demux_eint(int irq_base, unsigned long pend,
                                        struct irq_domain *domain)
 {
        unsigned int irq;