Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Brown and committed by
Samuel Ortiz
80e4e671 df545d1c

+2
+1
drivers/mfd/tps65912-core.c
··· 169 169 void tps65912_device_exit(struct tps65912 *tps65912) 170 170 { 171 171 mfd_remove_devices(tps65912->dev); 172 + tps65912_irq_exit(tps65912); 172 173 kfree(tps65912); 173 174 } 174 175
+1
include/linux/mfd/tps65912.h
··· 323 323 void tps65912_device_exit(struct tps65912 *tps65912); 324 324 int tps65912_irq_init(struct tps65912 *tps65912, int irq, 325 325 struct tps65912_platform_data *pdata); 326 + int tps65912_irq_exit(struct tps65912 *tps65912); 326 327 327 328 #endif /* __LINUX_MFD_TPS65912_H */