Skip to content

Commit

Permalink
mfd: Add free max8998->ono irq in max8998_irq_exit()
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Oct 28, 2010
1 parent 8220fe4 commit 1558b51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mfd/max8998-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 1558b51

Please sign in to comment.