summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tps65912-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-02 15:25:50 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2013-03-12 09:25:50 +0100
commit80e4e6716e43500c5c7d4ff4f73fc1b56f024083 (patch)
tree7de6a711a7826125ee5a0fe1f1c61bfec25f1aff /drivers/mfd/tps65912-core.c
parentdf545d1cd01aab3ba3f687d5423e6c3687b069d8 (diff)
downloadlinux-80e4e6716e43500c5c7d4ff4f73fc1b56f024083.tar.gz
linux-80e4e6716e43500c5c7d4ff4f73fc1b56f024083.tar.bz2
linux-80e4e6716e43500c5c7d4ff4f73fc1b56f024083.zip
mfd: tps65912: Declare and use tps65912_irq_exit()
Clean up interrupts on exit, silencing a sparse warning caused by tps65912_irq_exit() being defined but not prototyped as we go. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/tps65912-core.c')
-rw-r--r--drivers/mfd/tps65912-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps65912-core.c b/drivers/mfd/tps65912-core.c
index 4658b5bdcd84..aeb8e40ab424 100644
--- a/drivers/mfd/tps65912-core.c
+++ b/drivers/mfd/tps65912-core.c
@@ -169,6 +169,7 @@ err:
void tps65912_device_exit(struct tps65912 *tps65912)
{
mfd_remove_devices(tps65912->dev);
+ tps65912_irq_exit(tps65912);
kfree(tps65912);
}