mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mfd: Add free max8998->ono irq in max8998_irq_exit()
Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
8220fe4cb2
commit
1558b51eb7
1 changed files with 3 additions and 0 deletions
|
|
@ -250,6 +250,9 @@ int max8998_irq_init(struct max8998_dev *max8998)
|
|||
|
||||
void max8998_irq_exit(struct max8998_dev *max8998)
|
||||
{
|
||||
if (max8998->ono)
|
||||
free_irq(max8998->ono, max8998);
|
||||
|
||||
if (max8998->irq)
|
||||
free_irq(max8998->irq, max8998);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue