summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-22 20:25:48 +0000
committerMark Brown <broonie@linaro.org>2014-02-03 12:17:10 +0000
commitb5ab3e5cae097642480b7983c13ff9d3ea21d0de (patch)
tree8b6bce084189ac4320185b96990e11c229fd7f96 /drivers/base
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-b5ab3e5cae097642480b7983c13ff9d3ea21d0de.tar.bz2
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.c2
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)
return;
free_irq(irq, d);
- /* We should unmap the domain but... */
+ irq_domain_remove(d->domain);
kfree(d->wake_buf);
kfree(d->mask_buf_def);
kfree(d->mask_buf);