Re: [PATCH v13 RESEND 1/2] mfd: madera: Add irqchip data pointer into struct madera

From: Lee Jones
Date: Thu Oct 25 2018 - 04:01:39 EST


On Tue, 16 Oct 2018, Richard Fitzgerald wrote:

> Put the pointer to struct regmap_irq_chip_data into the parent
> mfd structure so that the child irqchip driver does not need
> a trivial private structure to store only this pointer. As
> the irqchip child driver already has a pointer to the parent
> struct madera it can use that to store the pointer. This also
> means that the irqchip driver does not need a double-indirection
> from its local struct to get at the parent struct madera.
>
> Signed-off-by: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>
> ---
> include/linux/mfd/madera/core.h | 2 ++
> 1 file changed, 2 insertions(+)

For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog