irqchip/apple-aic: Dynamically compute register offsets
authorHector Martin <marcan@marcan.st>
Tue, 7 Dec 2021 11:06:22 +0000 (20:06 +0900)
committerHector Martin <marcan@marcan.st>
Sat, 19 Feb 2022 07:52:26 +0000 (16:52 +0900)
commit65d98be93b6e08024edb32d2743650080bf63804
treea899ee7762237e1f5ce5dee20d2ef21c8e5845eb
parentadc29494fdd7729f3b281966d5d51c01a4838f30
irqchip/apple-aic: Dynamically compute register offsets

This allows us to support AIC variants with different numbers of IRQs
based on capability registers.

Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/irqchip/irq-apple-aic.c