]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mfd: madera: Add irqchip data pointer into struct madera
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 30 Aug 2018 13:20:04 +0000 (14:20 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 10 Sep 2018 15:43:27 +0000 (16:43 +0100)
commitd31ca7e5d0fa066d59540859af32ab6f95adb519
treee00b22968e10588500e7f8b401726fb13f870330
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
mfd: madera: Add irqchip data pointer into struct madera

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@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/madera/core.h