• Gerlando Falauto's avatar
    genirq: Generic chip: Remove the local cur_regs() function · cfeaa93f
    Gerlando Falauto authored
    Since we already have an irq_data_get_chip_type() function which returns
    a pointer to irq_chip_type, use that instead of cur_regs().
    Signed-off-by: default avatarGerlando Falauto <gerlando.falauto@keymile.com>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Joey Oravec <joravec@drewtech.com>
    Cc: Lennert Buytenhek <kernel@wantstofly.org>
    Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Holger Brunck <Holger.Brunck@keymile.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Acked-by: default avatarGrant Likely <grant.likely@linaro.org>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: devicetree-discuss@lists.ozlabs.org
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Ben Dooks <ben-linux@fluff.org>
    Cc: Gregory Clement <gregory.clement@free-electrons.com>
    Cc: Simon Guinot <simon@sequanux.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Jean-Francois Moine <moinejf@free.fr>
    Cc: Nicolas Pitre <nico@fluxnic.net>
    Cc: Rob Landley <rob@landley.net>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Link: http://lkml.kernel.org/r/20130506142539.010164766@linutronix.deSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    cfeaa93f
generic-chip.c 9.42 KB