]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
irqchip: spear_shirq: Simplify register access code
authorThomas Gleixner <tglx@linutronix.de>
Thu, 19 Jun 2014 21:34:44 +0000 (21:34 +0000)
committerJason Cooper <jason@lakedaemon.net>
Tue, 24 Jun 2014 12:38:45 +0000 (12:38 +0000)
commit1b0a76c146adce782ddb8e71f01729f5f3671c66
tree23784da1ee2ed66bcf7d1da893e4f5c1846d4c6c
parentf07e42f96f06dca3f9f897b956d83aec165ee693
irqchip: spear_shirq: Simplify register access code

The extra register data structure is pointless. Move the offsets of
the status and the mask register into the shirq block structure.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20140619212713.923306179@linutronix.de
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/spear-shirq.c