Re: [PATCH 5/6] irqchip: brcmstb-l2: Abstract register accesses

From: Florian Fainelli
Date: Mon Jul 10 2017 - 11:54:33 EST

On 07/07/2017 12:20 PM, Doug Berger wrote:
> Added register block offsets to the brcmstb_l2_intc_data structure
> for the status and mask registers to support reading the active
> interupts in an abstracted way. It seems like an irq_chip method
> should have been provided for this, but it's not there yet.
> Abstracted the implementation of the handler, suspend, and resume
> functions to not use any hard coded register offsets.
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>