diff options
| -rw-r--r-- | drivers/mfd/tps65912-core.c | 1 | ||||
| -rw-r--r-- | include/linux/mfd/tps65912.h | 1 |
2 files changed, 2 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: | |||
| 169 | void tps65912_device_exit(struct tps65912 *tps65912) | 169 | void tps65912_device_exit(struct tps65912 *tps65912) |
| 170 | { | 170 | { |
| 171 | mfd_remove_devices(tps65912->dev); | 171 | mfd_remove_devices(tps65912->dev); |
| 172 | tps65912_irq_exit(tps65912); | ||
| 172 | kfree(tps65912); | 173 | kfree(tps65912); |
| 173 | } | 174 | } |
| 174 | 175 | ||
diff --git a/include/linux/mfd/tps65912.h b/include/linux/mfd/tps65912.h index aaceab402ec5..6d309032dc0d 100644 --- a/include/linux/mfd/tps65912.h +++ b/include/linux/mfd/tps65912.h | |||
| @@ -323,5 +323,6 @@ int tps65912_device_init(struct tps65912 *tps65912); | |||
| 323 | void tps65912_device_exit(struct tps65912 *tps65912); | 323 | void tps65912_device_exit(struct tps65912 *tps65912); |
| 324 | int tps65912_irq_init(struct tps65912 *tps65912, int irq, | 324 | int tps65912_irq_init(struct tps65912 *tps65912, int irq, |
| 325 | struct tps65912_platform_data *pdata); | 325 | struct tps65912_platform_data *pdata); |
| 326 | int tps65912_irq_exit(struct tps65912 *tps65912); | ||
| 326 | 327 | ||
| 327 | #endif /* __LINUX_MFD_TPS65912_H */ | 328 | #endif /* __LINUX_MFD_TPS65912_H */ |
