diff options
author | Mark Brown <broonie@linaro.org> | 2014-01-22 21:25:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-03 13:17:10 +0100 |
commit | b5ab3e5cae097642480b7983c13ff9d3ea21d0de (patch) | |
tree | 8b6bce084189ac4320185b96990e11c229fd7f96 /drivers/base/regmap | |
parent | Linus 3.14-rc1 (diff) | |
download | linux-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.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) 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); |