diff options
author | Mark Brown <broonie@linaro.org> | 2014-01-22 15:25:48 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-03 07:17:10 -0500 |
commit | b5ab3e5cae097642480b7983c13ff9d3ea21d0de (patch) | |
tree | 8b6bce084189ac4320185b96990e11c229fd7f96 /drivers/base | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
regmap: irq: Remove domain on exit
irqdomain now supports removal of domains on exit so we can properly clean
up on deletion of a regmap irqchip.
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regmap-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 82692068d3cb..52ce0c17c68b 100644 --- a/drivers/base/regmap/regmap-irq.c +++ b/drivers/base/regmap/regmap-irq.c | |||
@@ -533,7 +533,7 @@ void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *d) | |||
533 | return; | 533 | return; |
534 | 534 | ||
535 | free_irq(irq, d); | 535 | free_irq(irq, d); |
536 | /* We should unmap the domain but... */ | 536 | irq_domain_remove(d->domain); |
537 | kfree(d->wake_buf); | 537 | kfree(d->wake_buf); |
538 | kfree(d->mask_buf_def); | 538 | kfree(d->mask_buf_def); |
539 | kfree(d->mask_buf); | 539 | kfree(d->mask_buf); |