diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-20 10:47:55 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-31 21:28:23 (GMT) |
commit | ec2328c30bf09fe31e77889090eeb1a965325f53 (patch) | |
tree | b60fd04f5941a9db1c5fa0dab3b9d00e5b1c1b10 /drivers | |
parent | 19921ef61217fff600202b819c05bb078f254619 (diff) | |
download | linux-ec2328c30bf09fe31e77889090eeb1a965325f53.tar.xz |
mfd: Implement tps65910 IRQ cleanup
The tps65910_irq_exit() cleanup function was generating a warning from
sparse due to the lack of a prototype. This wasn't causing GCC warnings
as the driver wasn't cleaning up its IRQs on exit at all so there was no
use of an unprototyped function.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/tps65910.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 2229e66..837f0e6f 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -187,6 +187,7 @@ static int tps65910_i2c_remove(struct i2c_client *i2c) struct tps65910 *tps65910 = i2c_get_clientdata(i2c); mfd_remove_devices(tps65910->dev); + tps65910_irq_exit(tps65910); kfree(tps65910); return 0; |