Re: [RFC v1 01/25] ARM, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

From: Russell King - ARM Linux
Date: Wed May 20 2015 - 15:36:36 EST


On Wed, May 20, 2015 at 05:59:49PM +0800, Jiang Liu wrote:
> diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
> index 5cc779c8e9c6..0d0844fa54c2 100644
> --- a/arch/arm/common/sa1111.c
> +++ b/arch/arm/common/sa1111.c
> @@ -200,7 +200,7 @@ static void
> sa1111_irq_handler(unsigned int irq, struct irq_desc *desc)
> {
> unsigned int stat0, stat1, i;
> - struct sa1111 *sachip = irq_get_handler_data(irq);
> + struct sa1111 *sachip = irq_desc_get_handler_data(desc);
> void __iomem *mapbase = sachip->base + SA1111_INTC;
>
> stat0 = sa1111_readl(mapbase + SA1111_INTSTATCLR0);

For this one only,

Acked-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

Other maintainers are responsible for the others...

Thanks.

--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/