This is intended to give each irq_chip a useful name, rather than hard-
coding them all as "regmap".
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
}
static const struct irq_chip regmap_irq_chip = {
- .name = "regmap",
.irq_bus_lock = regmap_irq_lock,
.irq_bus_sync_unlock = regmap_irq_sync_unlock,
.irq_disable = regmap_irq_disable,
}
d->irq_chip = regmap_irq_chip;
+ d->irq_chip.name = chip->name;
d->irq = irq;
d->map = map;
d->chip = chip;