genirq: Generic chip: Remove the local cur_regs() function
genirq: Generic chip: Remove the local cur_regs() function

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: Gerlando Falauto <e26ae6cd2ee390a2335b18fb193997847c3cc510@keymile.com>
Cc: Andrew Lunn <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@lunn.ch>
Cc: Joey Oravec <3f50b13e25f74ae627ef680bc00b801eaa974166@drewtech.com>
Cc: Lennert Buytenhek <c65a0fb7e74ffd2c9fc3a0f9aacb0f6a24b0a68b@wantstofly.org>
Cc: Russell King - ARM Linux <ba324ca7b1c77fc20bb970d5aff6eea9377918a5@arm.linux.org.uk>
Cc: Jason Gunthorpe <a99b91d77388df0ccdee94a722cec2f833ed4ae5@obsidianresearch.com>
Cc: Holger Brunck <d7c7e5adebe8e01004f3e58ae55aaf9e9dc87277@keymile.com>
Cc: Ezequiel Garcia <7248f52d8926fd82a5eb079a13afe9dd79e34c7a@free-electrons.com>
Acked-by: Grant Likely <9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org>
Cc: Sebastian Hesselbarth <1d402fe89ace836b52164ed4c0f247cb6f80efc1@gmail.com>
Cc: Jason Cooper <68c46a606457643eab92053c1c05574abb26f861@lakedaemon.net>
Cc: Arnd Bergmann <f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de>
Cc: d889e877b752ff82fa878333991431b6b11c64b8@lists.ozlabs.org
Cc: Rob Herring <aa00819e304141d872f2e4b1c4be422ea3abbfe1@calxeda.com>
Cc: Ben Dooks <1177f64998f284a7348354b8e91cbbe575d9858a@fluff.org>
Cc: Gregory Clement <cd8db494d8ed74d7c3f56ec5c769dff3d51dd397@free-electrons.com>
Cc: Simon Guinot <088e16a1019277b15d58faf0541e11910eb756f6@sequanux.org>
Cc: f99ef57ccac738b558d0fc2e44478b3c5def9522@lists.infradead.org
Cc: Thomas Petazzoni <a5d87d2bd7c424ee5cbdb4e978635bf653d5a005@free-electrons.com>
Cc: Jean-Francois Moine <e5394ce9c4b9ae7d2c4686830c5ac5f3b9028b6a@free.fr>
Cc: Nicolas Pitre <d659c10e27d52b00987b65e85d99bce5480adcae@fluxnic.net>
Cc: Rob Landley <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@landley.net>
Cc: Maxime Ripard <2d324f4ca95610bde432fa2af2f28cd21110687d@free-electrons.com>
Link: cc444e6a1e51f5de11c26487ccd6904d49b3482f@linutronix.de
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs