]> git.baikalelectronics.ru Git - kernel.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)
commit5d109af0213c3f694d1c3be7d7aeda8919787f91
tree23784da1ee2ed66bcf7d1da893e4f5c1846d4c6c
parent00ab1f038c118a4dc13e3c6ea8bfb003cf404045
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