mfd: Add free max8998->ono irq in max8998_irq_exit()

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Axel Lin 2010-10-20 17:09:56 +08:00 committed by Samuel Ortiz
parent 8220fe4cb2
commit 1558b51eb7

View File

@ -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);
}