summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-22 21:25:48 +0100
committerMark Brown <broonie@linaro.org>2014-02-03 13:17:10 +0100
commitb5ab3e5cae097642480b7983c13ff9d3ea21d0de (patch)
tree8b6bce084189ac4320185b96990e11c229fd7f96 /drivers/base/regmap
parentLinus 3.14-rc1 (diff)
downloadlinux-b5ab3e5cae097642480b7983c13ff9d3ea21d0de.tar.xz
linux-b5ab3e5cae097642480b7983c13ff9d3ea21d0de.zip
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/regmap')
-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);