• Andrey Smirnov's avatar
    irqchip/irq-imx-gpcv2: Share reg offset calculation code · bd654fb6
    Andrey Smirnov authored
    Move identical offset calculation code into a small helper function
    and make use of it in the rest of the code.
    
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: cphealy@gmail.com
    Cc: l.stach@pengutronix.de
    Cc: Leonard Crestez <leonard.crestez@nxp.com>
    Cc: "A.s. Dong" <aisheng.dong@nxp.com>
    Cc: Richard Zhu <hongxing.zhu@nxp.com>
    Cc: linux-imx@nxp.com
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    bd654fb6
irq-imx-gpcv2.c 6.11 KB